Closed ImSomeOtherGuy closed 1 year ago
Scratch.fetch is not a function
Desktop app is old, will be fixed in next update. Just use fetch() instead for now.
Access to fetch at ... Access-Control-Allow-Origin ...
Your server needs to set Access-Control-Allow-Origin
to *
so that other websites are allowed to access it (this being opt-in is why online banking is not completely insecure). Google "cors" to learn more. The development server we provide in this repository does so automatically as does extensions.turbowarp.org.
Things in the gallery work flawlessly because they use an old snapshot which doesn't use things that aren't yet supported in the desktop app: https://github.com/TurboWarp/extensions/tree/08b82d4605b4de4a11d994dde65b9b01a89d7587
Good to know, thanks for the quick response!!
Unsandboxed extensions are looking to be an awesome thing, but trying to load custom ones has proven way more complicated than I thought. Considering I haven't seen anyone else mention this, the issues described below may be a problem with my setup (or skill) so I may try this on linux or another windows partition and do a follow-up comment later. If all the crap that keeps happening to me is my fault, then this issue can just be closed.
None of the extensions I tested were imported directly from the extension gallery. Anything from the extension gallery works flawlessly. Instead, I downloaded all the extensions from the repo itself (because there are some that are not in the gallery on the desktop app). I know for a fact that no firewall, proxy, port, or other settings are interfering with Turbowarp or Chrome in any way. I also have the newest version of Python installed.
Here are the issues in detail:
Below are some console errors I found when trying to run specific blocks.
Once again, I will follow up with another comment saying if I was successful with other operating systems and how things worked with other extensions.