Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Adding javascript
- frodewin
- Scratcher
500+ posts
Adding javascript
You don't. Make your extension be a userscript so it adds itself automatically, and it should work (note that sharing projects with extensions is probably not allowed, but you can put them on your own site if you want!)
How do you put a Scratch project onto your own site? I know how to offer an SB2-download there, but if I want it to be embedded in a webpage where people can play it in their browser I would not know how to do it.
- --_Nova_--
- Scratcher
1000+ posts
Adding javascript
…should we not acknowledge this is a necropost? -heh snip-
Last edited by --_Nova_-- (Aug. 2, 2018 13:35:24)
- Sprater223
- Scratcher
4 posts
Adding javascript
Snap! Scratch's older clone like thing has the JavaScript Function
- herohamp
- Scratcher
1000+ posts
Adding javascript
stop, necroposting m8 Snap! Scratch's older clone like thing has the JavaScript Function
Last edited by herohamp (Oct. 13, 2018 14:39:25)
- gadget07
- New to Scratch
1 post
Adding javascript
show [x mouse in] :: sensing // it would be good :-)
show mouse in] :: sensing
show [answer in] :: sensing
show [volume in] :: sensing
show [username in] :: sensing
hide [x mouse in] :: sensing
hide the mouse in sensing
hide [answer in] :: sensing
hide [volume in] :: sensing
hide [username in] :: sensing
show [direction in] :: motion
show [position x in] :: motion
show [y position] :: motion
show [position x in] :: motion
hide [direction in] :: motion
hide [position x in] :: motion
hide [position y in] :: motion
hide [position x in] :: motion
- herohamp
- Scratcher
1000+ posts
Adding javascript
show [x mouse in] :: sensing // it would be good :-)
show mouse in] :: sensing
show [answer in] :: sensing
show [volume in] :: sensing
show [username in] :: sensing
hide [x mouse in] :: sensing
hide the mouse in sensing
hide [answer in] :: sensing
hide [volume in] :: sensing
hide [username in] :: sensing
show [direction in] :: motion
show [position x in] :: motion
show [y position] :: motion
show [position x in] :: motion
hide [direction in] :: motion
hide [position x in] :: motion
hide [position y in] :: motion
hide [position x in] :: motion
Blockspam + Necro, nice
Last edited by herohamp (Feb. 17, 2019 11:06:07)
- Discussion Forums
- » Advanced Topics
- » Adding javascript