Hello peoples! So, I'm thinking of making an extension, but I'd like to put it directly into the scratch gui code. Sadly, I haven't got a clue what I'm doing in that regard, so I have some questions. If you can provide answers, or links to topics that answer them, that would be greatly appreciated. Right, here are my questions:
1) I am not using a localhost or github to host this, I am using glitch
and whenever I go to scratch-local-monitor.glitch.me (that's my project) it returns this :
and when I view the source by appending view-source: to the front of the url, it gives me this:
So this is bad, obviously, and I'd like to know how to fix it. You can actually view the source at glitch.com/edit/#!/scratch-local-monitor.
2) What file should I add my extension to?
3) Is there a server file somewhere that routes the pages, or is it all static? If so, where? Because my extension kind of needs a server.
That's all for now (I think), thanks for reading this and answering it if you do answer it. Now I'll go and eat some chocolate or something.