Discuss Scratch

AmazingMech2418
Scratcher
500+ posts

Scratch Extensions Archive

I'm creating a scratch extensions archive that can give scratch it's full functionality. Please comment the code of your extensions so they can be added to the archive. Eventually, I will make a chrome extension for it. If anyone knows how to do a chrome extension, please comment how to. https://scratch.mit.edu/projects/174486574/ is the current archive.

Last edited by AmazingMech2418 (Sept. 18, 2017 23:45:51)


set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
JGames101
Scratcher
100+ posts

Scratch Extensions Archive

I'm working on a Scratch Extension for running Scratch Extensions every time you load Scratch.

It's nowhere near done, right now it only saves a list of extensions you've selected. Nothing more. To use it, you click the “Load Extension” button and paste in a URL. What hasn't been implemented yet is that it will display the extensions as a list, with an X button to remove, and then load whenever the URL starts with https://scratch.mit.edu/projects. Anyway, I have been reading about Scratch Extensions, and I found This article about post-messaging. It mentions that you can send messages between extensions for an API. I was thinking I could implement an API that sends an extension URL to my extension, which would then make a popup asking if you want to install the extension.
If you click yes, then it will be added to the list of extensions to be loaded when the page is loaded.
So… I was thinking that for your extension, we could make them work together. I could add an API to my extension to receive extension requests, and yours could add a button to add to my extension. If you accept, I can implement an API, and then give you information on the API usage.
I think that they would work well together.

I have started work on the API, which will eventually be published, probably at the same time as the extension launch, as I need the extension id to provide the API.

Your extension sounds really cool!

PS: If you're looking for extensions to use to populate your archive, you can see here: http://savaka2.github.io/scratch-extensions-directory/

Update: I think that I have finished the API on the extension-side. I just need to test it with another extension to be sure.

Last edited by JGames101 (Nov. 15, 2017 04:02:38)



Hey! I like working with Scratch 3.

Scratch 3 Modding

My Website
AmazingMech2418
Scratcher
500+ posts

Scratch Extensions Archive

JGames101 wrote:

I'm working on a Scratch Extension for running Scratch Extensions every time you load Scratch.

It's nowhere near done, right now it only saves a list of extensions you've selected. Nothing more. To use it, you click the “Load Extension” button and paste in a URL. What hasn't been implemented yet is that it will display the extensions as a list, with an X button to remove, and then load whenever the URL starts with https://scratch.mit.edu/projects. Anyway, I have been reading about Scratch Extensions, and I found This article about post-messaging. It mentions that you can send messages between extensions for an API. I was thinking I could implement an API that sends an extension URL to my extension, which would then make a popup asking if you want to install the extension.
If you click yes, then it will be added to the list of extensions to be loaded when the page is loaded.
So… I was thinking that for your extension, we could make them work together. I could add an API to my extension to receive extension requests, and yours could add a button to add to my extension. If you accept, I can implement an API, and then give you information on the API usage.
I think that they would work well together.

I have started work on the API, which will eventually be published, probably at the same time as the extension launch, as I need the extension id to provide the API.

Your extension sounds really cool!

PS: If you're looking for extensions to use to populate your archive, you can see here: http://savaka2.github.io/scratch-extensions-directory/

Update: I think that I have finished the API on the extension-side. I just need to test it with another extension to be sure.
Thank you! That seems awesome! I look forward to the released version of your extension loader.

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs

Powered by DjangoBB

Standard | Mobile