Discuss Scratch

LiFaytheGoblin
Forum Moderator
1000+ posts

Extension Sample Project - Why is my extension not automatically there?

Hi!

Some days ago I made an extension (no serious one, just for fun).

Anyway, I have an example project here: https://github.com/LiFaytheGoblin/ScratchX-Extensions/blob/gh-pages/CatX-sample.sbx .
But for some reason, when I open this project on ScratchX, my extension doesn't load automatically.

When I have the project opened and click “Load Extension” and paste
http://scratchx.org/?url=https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js#scratch
nothing happens.

Pasting the URL in the url bar and enter will have a new project with the extension loaded. But then I can't open my sample project either because it will replace everything and my extension will be gone again.

So, what can I do? Is this a bug? Did I do something wrong?

Thank you!
Thepuzzlegame
Scratcher
1000+ posts

Extension Sample Project - Why is my extension not automatically there?

First off, I realized that the url for loading your extension doesn't need to use rawgit. So you'll be fine with:
http://lifaythegoblin.github.io/ScratchX-Extensions/CatX.js instead of https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js for loading the extension on its own.

There's nothing wrong with your project link, rather it appears the extension didn't save properly in your CatX-sample.sbx file. I've made a new file which should work.
LiFaytheGoblin
Forum Moderator
1000+ posts

Extension Sample Project - Why is my extension not automatically there?

Thepuzzlegame wrote:

First off, I realized that the url for loading your extension doesn't need to use rawgit. So you'll be fine with:
http://lifaythegoblin.github.io/ScratchX-Extensions/CatX.js instead of https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js for loading the extension on its own.

There's nothing wrong with your project link, rather it appears the extension didn't save properly in your CatX-sample.sbx file. I've made a new file which should work.
1. Okay, thanks

2. Awesome, it works! Thank you!

Powered by DjangoBB