Sean Yen

Results 71 comments of Sean Yen

Hmm, do you think this might be because you didn't link the other forked repositories?

The browser doesn't make much info available when it fails to load. Instead, you should check the browser console. I probably should make it tell you that

This is a bit complicated because it's loading the Web Worker using some webpack plugin, so we don't have direct access to the URL https://github.com/SheepTester/scratch-vm/blob/dd071464816ebb7a7b9f757c8d58edbad5b8f876/src/extension-support/extension-manager.js#L159-L165

This might get even more complicated because the HTMLifier relies on parsing the bundled code to splice in worker code from a string https://github.com/SheepTester/htmlifier/blob/55590b15b444d9e0c9d295439367a6da2268711e/hacky-file-getter.js#L222-L249

![image](https://user-images.githubusercontent.com/22133785/124022290-76bd1f80-d9a1-11eb-8605-4a5928b08fa2.png) Well, that sucks

Hmm, perhaps it could be loaded using the HTMLifier's way of URL.createObjectURL'ing the worker code, but this is just getting increasingly hacky This currently prevents the offline version from using...

it's possible it's failing to connect? could check the inspect element console for details. Scratch will set the cloud variable value locally even if it fails to connect or update...

being online doesn't mean the project can connect to it

is there an error in the inspect element console

Note that this might be a very bad idea if the service worker caches too aggressively, preventing new updates. Ensure that there's a debug panel somewhere where the service worker...