as it says in the title, it detects if you are on scratch or a scratch emulator. LINK TO THIS PROJECT ON PHOSPHORUS (old project because phosphorus is incompatible with 3.0) phosphorus.github.io/#230670467 LINK TO THIS PROJECT ON SULFUROUS (same reason as above, not compatible with 3.0) sulfurous.aau.at/#230670467 LINK TO THIS PROJECT ON FORKPHORUS (the new one that can run 3.0 projects) https://forkphorus.github.io/#319058066
lol this is a copy of the older one phosphorus and sulfurous are scratch 2.0 emulators. forkphorus is a scratch 3.0 emulator (can also run 2.0) they convert the .sb2 or .sb3 file to javascript that can be run on a page. try it out (they can also see into unshared projects *winkwink*)