Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » how to convert scratchx extension to scratch3 extension?
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
is there any tool to make the conversion? thanks!
- NitroCipher
- Scratcher
500+ posts
how to convert scratchx extension to scratch3 extension?
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
Why, yes! There actually is!
Forum topic here
https://github.com/NitroCipher/ext2to3
thanks for your help!
when using this link https://sheeptester.github.io/scratch-gui/ to concvert extension, below chrome console errors happened:
shared-dispatch.js:137 Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: DOMException object could not be cloned.
at https://sheeptester.github.io/scratch-gui/extension-worker.js:996:20
at new Promise (<anonymous>)
at WorkerDispatch._remoteTransferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:979:14)
at WorkerDispatch.transferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:918:45)
at WorkerDispatch.call (https://sheeptester.github.io/scratch-gui/extension-worker.js:886:32)
at https://sheeptester.github.io/scratch-gui/extension-worker.js:146:20
Do you know what's the reason of the error?
- NitroCipher
- Scratcher
500+ posts
how to convert scratchx extension to scratch3 extension?
Why, yes! There actually is!
Forum topic here
https://github.com/NitroCipher/ext2to3
thanks for your help!
when using this link https://sheeptester.github.io/scratch-gui/ to concvert extension, below chrome console errors happened:
shared-dispatch.js:137 Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: DOMException object could not be cloned.
at https://sheeptester.github.io/scratch-gui/extension-worker.js:996:20
at new Promise (<anonymous>)
at WorkerDispatch._remoteTransferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:979:14)
at WorkerDispatch.transferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:918:45)
at WorkerDispatch.call (https://sheeptester.github.io/scratch-gui/extension-worker.js:886:32)
at https://sheeptester.github.io/scratch-gui/extension-worker.js:146:20
Do you know what's the reason of the error?
where is the 3.0 extension you are hosting?
your url should look something like https://sheeptester.github.io/scratch-gui/?url=https://sheeptester.github.io/javascripts/utilities.js or https://sheeptester.github.io/scratch-gui/?url=https://nitrocipher.github.io/ext2to3/ext-test.js
Last edited by NitroCipher (Feb. 27, 2019 00:40:07)
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
Why, yes! There actually is!
Forum topic here
https://github.com/NitroCipher/ext2to3
thanks for your help!
when using this link https://sheeptester.github.io/scratch-gui/ to concvert extension, below chrome console errors happened:
shared-dispatch.js:137 Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: DOMException object could not be cloned.
at https://sheeptester.github.io/scratch-gui/extension-worker.js:996:20
at new Promise (<anonymous>)
at WorkerDispatch._remoteTransferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:979:14)
at WorkerDispatch.transferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:918:45)
at WorkerDispatch.call (https://sheeptester.github.io/scratch-gui/extension-worker.js:886:32)
at https://sheeptester.github.io/scratch-gui/extension-worker.js:146:20
Do you know what's the reason of the error?
where is the 3.0 extension you are hosting?
your url should look something like https://sheeptester.github.io/scratch-gui/?url=https://sheeptester.github.io/javascripts/utilities.js or https://sheeptester.github.io/scratch-gui/?url=https://nitrocipher.github.io/ext2to3/ext-test.js
Great thanks! It's ok now. I've just tried the js file converted from scratchx to s3, maybe there is some problem in the converted file, so the error happend. I tested your utilities.js file, it's ok.
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
Why, yes! There actually is!
Forum topic here
https://github.com/NitroCipher/ext2to3
thanks for your help!
when using this link https://sheeptester.github.io/scratch-gui/ to concvert extension, below chrome console errors happened:
shared-dispatch.js:137 Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: DOMException object could not be cloned.
at https://sheeptester.github.io/scratch-gui/extension-worker.js:996:20
at new Promise (<anonymous>)
at WorkerDispatch._remoteTransferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:979:14)
at WorkerDispatch.transferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:918:45)
at WorkerDispatch.call (https://sheeptester.github.io/scratch-gui/extension-worker.js:886:32)
at https://sheeptester.github.io/scratch-gui/extension-worker.js:146:20
Do you know what's the reason of the error?
where is the 3.0 extension you are hosting?
your url should look something like https://sheeptester.github.io/scratch-gui/?url=https://sheeptester.github.io/javascripts/utilities.js or https://sheeptester.github.io/scratch-gui/?url=https://nitrocipher.github.io/ext2to3/ext-test.js
Great thanks! It's ok now. I've just tried the js file converted from scratchx to s3, maybe there is some problem in the converted file, so the error happend. I tested your utilities.js file, it's ok.
By the way, how to run this file? https://github.com/NitroCipher/ext2to3/blob/master/ext2to3.user.js
I've tried “node ext2to3.user.js”, there is error.
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
Why, yes! There actually is!
Forum topic here
https://github.com/NitroCipher/ext2to3
thanks for your help!
when using this link https://sheeptester.github.io/scratch-gui/ to concvert extension, below chrome console errors happened:
shared-dispatch.js:137 Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: DOMException object could not be cloned.
at https://sheeptester.github.io/scratch-gui/extension-worker.js:996:20
at new Promise (<anonymous>)
at WorkerDispatch._remoteTransferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:979:14)
at WorkerDispatch.transferCall (https://sheeptester.github.io/scratch-gui/extension-worker.js:918:45)
at WorkerDispatch.call (https://sheeptester.github.io/scratch-gui/extension-worker.js:886:32)
at https://sheeptester.github.io/scratch-gui/extension-worker.js:146:20
Do you know what's the reason of the error?
where is the 3.0 extension you are hosting?
your url should look something like https://sheeptester.github.io/scratch-gui/?url=https://sheeptester.github.io/javascripts/utilities.js or https://sheeptester.github.io/scratch-gui/?url=https://nitrocipher.github.io/ext2to3/ext-test.js
By the way, how to run this file? https://github.com/NitroCipher/ext2to3/blob/master/ext2to3.user.js
I've tried “node ext2to3.user.js”, there is error.
- Sheep_maker
- Scratcher
1000+ posts
how to convert scratchx extension to scratch3 extension?
It's a userscript, which I believe as per the browser extension policy can't be shared on Scratch. They need a special browser extension that I cannot specifically name because of this policy.
When you get the userscript working, go to https://scratch.mit.edu/convert/?url=EXTENSION-URL-HERE, and it'll take the extension contents and perform some magic. When it's done, a button labelled “Download XYZ as a 3.0 extension file” will appear and it downloads a JS file containing the converted extension upon clicking.
When you get the userscript working, go to https://scratch.mit.edu/convert/?url=EXTENSION-URL-HERE, and it'll take the extension contents and perform some magic. When it's done, a button labelled “Download XYZ as a 3.0 extension file” will appear and it downloads a JS file containing the converted extension upon clicking.
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
It's a userscript, which I believe as per the browser extension policy can't be shared on Scratch. They need a special browser extension that I cannot specifically name because of this policy.
When you get the userscript working, go to https://scratch.mit.edu/convert/?url=EXTENSION-URL-HERE, and it'll take the extension contents and perform some magic. When it's done, a button labelled “Download XYZ as a 3.0 extension file” will appear and it downloads a JS file containing the converted extension upon clicking.
The convert link can't be opened. I've tested below links.
https://scratch.mit.edu/convert/?url=https://github.com/NitroCipher/ext2to3/blob/master/ext2to3.user.js
https://scratch.mit.edu/convert/?url=https://raw.githubusercontent.com/LiFaytheGoblin/ScratchX-Extensions/b88f854585d9cfb3a1aeb7f52d792c734ec25da3/CatX.js
https://scratch.mit.edu/convert/?url=https://raw.githubusercontent.com/iRobotSTEM/CreateScratchX/gh-pages/roomba600Extension.js
Seems the convert service is closed?
- Sheep_maker
- Scratcher
1000+ posts
how to convert scratchx extension to scratch3 extension?
gosafer, if you're getting a 404, you need to install the userscript first. The userscript modifies the content of that page.
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
gosafer, if you're getting a 404, you need to install the userscript first. The userscript modifies the content of that page.
it's not 404…
I dont' quite understand how to install that userscript file
Would you please give some help? Thanks!
By the way, I need to convert from scratchx extension (not s2 extension) to s3 extension.
- dude341
- Scratcher
1000+ posts
how to convert scratchx extension to scratch3 extension?
As we've said, we're not allowed to really talk about userscripts due to a “browser extension” policy by the Scratch Team, which is supposed to stop people from getting viruses (even though there hasn't been an incident where this has happened through Scratch via a userscript ever).gosafer, if you're getting a 404, you need to install the userscript first. The userscript modifies the content of that page.
it's not 404…
I dont' quite understand how to install that userscript file
Would you please give some help? Thanks!
By the way, I need to convert from scratchx extension (not s2 extension) to s3 extension.
But you should get some results if you look up “browser userscript” on the internet.
Additionally that link will be a 404 error unless you install the userscript, so you might have the userscript installed already.
Last edited by dude341 (Feb. 28, 2019 16:10:13)
Placeholder
- bybb
- Scratcher
1000+ posts
how to convert scratchx extension to scratch3 extension?
As far as I'm aware, the extension policy was on Scratcher made userscripts and extensions, not already established extensions. So if I'm correct (and I'm probably not) the crime here has already been committed (linking the userscript) and I should be able to say the following.As we've said, we're not allowed to really talk about userscripts due to a “browser extension” policy by the Scratch Team, which is supposed to stop people from getting viruses (even though there hasn't been an incident where this has happened through Scratch via a userscript ever).gosafer, if you're getting a 404, you need to install the userscript first. The userscript modifies the content of that page.
it's not 404…
I dont' quite understand how to install that userscript file
Would you please give some help? Thanks!
By the way, I need to convert from scratchx extension (not s2 extension) to s3 extension.
But you should get some results if you look up “browser userscript” on the internet.
Additionally that link will be a 404 error unless you install the userscript, so you might have the userscript installed already.
To install a userscript you need:
Tampermonkey for Chrome
Greasemonkey for Firefox
- gosafer
- Scratcher
50 posts
how to convert scratchx extension to scratch3 extension?
got it , thanks all!
- Discussion Forums
- » Advanced Topics
- » how to convert scratchx extension to scratch3 extension?