Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Turbo Mode Bookmarklet
- TheMobileGames
- Scratcher
100+ posts
Turbo Mode Bookmarklet
Since I am on mobile I would like a Bookmarklet that turns on turbo mode. I know that you can just click inside but it would be better to use a Bookmarklet.
—————————— —————————— —————————— —————————— ——————————
A way to make any game easily mobile (no remixing needed): https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/733837
My mobile engine (use to add buttons/controls to a game): https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/778848092/
—————————— —————————— —————————— —————————— ——————————
- TheMobileGames
- Scratcher
100+ posts
Turbo Mode Bookmarklet
The definition is “A small software application stored as a bookmark in a web browser, which typically allows a user to interact with the currently loaded web page in some way.” What’s a bookmarklet?
Basically I just want some JavaScript that allows me to toggle turbo mode. I can just use a website to compile it into 1 line.
—————————— —————————— —————————— —————————— ——————————
A way to make any game easily mobile (no remixing needed): https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/733837
My mobile engine (use to add buttons/controls to a game): https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/778848092/
—————————— —————————— —————————— —————————— ——————————
- TheMobileGames
- Scratcher
100+ posts
Turbo Mode Bookmarklet
I have tried to make my own Bookmarklet: javascript:document.getElementById('li .menu_menu-item_3EwYA menu_hoverable_3u9dt').click();
But it doesn’t work, but it shouldn’t be that hard can anyone help me.
But it doesn’t work, but it shouldn’t be that hard can anyone help me.
—————————— —————————— —————————— —————————— ——————————
A way to make any game easily mobile (no remixing needed): https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/733837
My mobile engine (use to add buttons/controls to a game): https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/778848092/
—————————— —————————— —————————— —————————— ——————————
- TheMobileGames
- Scratcher
100+ posts
Turbo Mode Bookmarklet
I tried to fix it by doing this javascriptfunction()%7Bdocument.getElementById('li%20.menu_menu-item_3EwYA%20menu_hoverable_3u9dt').click()%3B%7D)()%3B
But it still doesn’t work.
But it still doesn’t work.
—————————— —————————— —————————— —————————— ——————————
A way to make any game easily mobile (no remixing needed): https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/733837
My mobile engine (use to add buttons/controls to a game): https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/778848092/
—————————— —————————— —————————— —————————— ——————————
- TheMobileGames
- Scratcher
100+ posts
Turbo Mode Bookmarklet
There isn’t meant to be a sad face but I don’t know how to fix that to show the plain text.
Last edited by TheMobileGames (July 12, 2022 01:00:24)
—————————— —————————— —————————— —————————— ——————————
A way to make any game easily mobile (no remixing needed): https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/topic/733837
My mobile engine (use to add buttons/controls to a game): https://scratch-mit-edu.ezproxy.canberra.edu.au/projects/778848092/
—————————— —————————— —————————— —————————— ——————————
- ZZC12345
- Scratcher
500+ posts
Turbo Mode Bookmarklet
This isn't really an scratch extension (as you indicated by posting in this forum topic); it's a userscript. Unfortunately, the Scratch Team doesn't really like browser extensions and userscripts.
Nice bookmarklet though!
btw you can just shift+click the green flag to turn on turbo mode :)
It's for a good reason. You're basically running JS pretending to be in the page's context, which could trick the server into doing something bad. Hi everyone,
We want to announce today that we’re shifting our policy related to browser extensions, userscripts, userstyles, and other similar external software. We’ve decided that, for safety reasons, we are no longer going to allow these to be advertised on Scratch.
common.bundle.js:6 Stop!I'm not saying that's what you intended to do; it's what people could do, which is why the Scratch Team posted that notice.
common.bundle.js:6 This is part of your browser intended for developers. If someone told you to copy-and-paste something here, don't do it! It could allow them to take over your Scratch account, delete all of your projects, or do many other harmful things. If you don't understand what exactly you are doing here, you should close this window without doing anything.
Nice bookmarklet though!
btw you can just shift+click the green flag to turn on turbo mode :)
This is my signature. Go check out my GitHub if you want to!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Make sure to check out these cool projects, written in real code! (outdated, sorry)
Aviate - Itinerary - Scratch Auth - Orange OS Linux Distro - ocular - Leopard - PyHelp - My GitHub
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Make sure to check out these cool projects, written in real code! (outdated, sorry)
Aviate - Itinerary - Scratch Auth - Orange OS Linux Distro - ocular - Leopard - PyHelp - My GitHub
- randomperson2444
- Scratcher
9 posts
Turbo Mode Bookmarklet
Here's how to enable or disable turbomode (after 2 years lol)
javascript:function findReactComponent(e){let t=e;if(null==t)return null;let n=e=>{let t=e.return;for(;“string”==typeof t.typet=t.return;return t};for(t=n(t);null==t.stateNodet=n(t);return t.stateNode}if(window.vm=findReactComponent(document.getElementsByClassName(“stage-header_stage-size-row_14N65”)).props.vm,!Scratch&&!(Scratch={BlockType:{COMMAND:“command”,REPORTER:“reporter”,BOOLEAN:“Boolean”,HAT:“hat”},ArgumentType:{STRING:“string”,NUMBER:“number”,COLOR:“color”,ANGLE:“angle”,BOOLEAN:“Boolean”,MATRIX:“matrix”,NOTE:“note”},vm:window.vm,extensions:{unsandboxed:!0,register(e){let t=vm.extensionManager._registerInternalExtension(e);vm.extensionManager._loadedExtensions.set(e.getInfo().id,t)}}}).vm)throw Error(“The VM does not exist”);if(!Scratch.extensions.unsandboxed)throw Error(“Pen+ must be run unsandboxed”);var Scratch,vm=Scratch.vm,runtime=vm.runtime,canvas=runtime.renderer.canvas,gl=runtime.renderer._gl,ArgumentType=Scratch.ArgumentType,BlockType=Scratch.BlockType,formatMessage=Scratch.formatMessage,log=Scratch.log;function setTurboMode(e){vm.setTurboMode(e)}setTurboMode(confirm(“Set turbo mode? press OK for true, cancel for false”));
javascript:function findReactComponent(e){let t=e;if(null==t)return null;let n=e=>{let t=e.return;for(;“string”==typeof t.typet=t.return;return t};for(t=n(t);null==t.stateNodet=n(t);return t.stateNode}if(window.vm=findReactComponent(document.getElementsByClassName(“stage-header_stage-size-row_14N65”)).props.vm,!Scratch&&!(Scratch={BlockType:{COMMAND:“command”,REPORTER:“reporter”,BOOLEAN:“Boolean”,HAT:“hat”},ArgumentType:{STRING:“string”,NUMBER:“number”,COLOR:“color”,ANGLE:“angle”,BOOLEAN:“Boolean”,MATRIX:“matrix”,NOTE:“note”},vm:window.vm,extensions:{unsandboxed:!0,register(e){let t=vm.extensionManager._registerInternalExtension(e);vm.extensionManager._loadedExtensions.set(e.getInfo().id,t)}}}).vm)throw Error(“The VM does not exist”);if(!Scratch.extensions.unsandboxed)throw Error(“Pen+ must be run unsandboxed”);var Scratch,vm=Scratch.vm,runtime=vm.runtime,canvas=runtime.renderer.canvas,gl=runtime.renderer._gl,ArgumentType=Scratch.ArgumentType,BlockType=Scratch.BlockType,formatMessage=Scratch.formatMessage,log=Scratch.log;function setTurboMode(e){vm.setTurboMode(e)}setTurboMode(confirm(“Set turbo mode? press OK for true, cancel for false”));
- Spentine
- Scratcher
1000+ posts
Turbo Mode Bookmarklet
there are winky emojis in ur link Here's how to enable or disable turbomode (after 2 years lol)
javascript:function findReactComponent(e){let t=e;if(null==t)return null;let n=e=>{let t=e.return;for(;“string”==typeof t.typet=t.return;return t};for(t=n(t);null==t.stateNodet=n(t);return t.stateNode}if(window.vm=findReactComponent(document.getElementsByClassName(“stage-header_stage-size-row_14N65”)).props.vm,!Scratch&&!(Scratch={BlockType:{COMMAND:“command”,REPORTER:“reporter”,BOOLEAN:“Boolean”,HAT:“hat”},ArgumentType:{STRING:“string”,NUMBER:“number”,COLOR:“color”,ANGLE:“angle”,BOOLEAN:“Boolean”,MATRIX:“matrix”,NOTE:“note”},vm:window.vm,extensions:{unsandboxed:!0,register(e){let t=vm.extensionManager._registerInternalExtension(e);vm.extensionManager._loadedExtensions.set(e.getInfo().id,t)}}}).vm)throw Error(“The VM does not exist”);if(!Scratch.extensions.unsandboxed)throw Error(“Pen+ must be run unsandboxed”);var Scratch,vm=Scratch.vm,runtime=vm.runtime,canvas=runtime.renderer.canvas,gl=runtime.renderer._gl,ArgumentType=Scratch.ArgumentType,BlockType=Scratch.BlockType,formatMessage=Scratch.formatMessage,log=Scratch.log;function setTurboMode(e){vm.setTurboMode(e)}setTurboMode(confirm(“Set turbo mode? press OK for true, cancel for false”));
- -Guest_User-
- New Scratcher
2 posts
Turbo Mode Bookmarklet
javascript:function findReactComponent(e){let t=e;if(null==t)return null;let n=e=>{let t=e.return;for(;“string”==typeof t.typet=t.return;return t};for(t=n(t);null==t.stateNodet=n(t);return t.stateNode}if(window.vm=findReactComponent(document.getElementsByClassName(“stage-header_stage-size-row_14N65”)).props.vm,!Scratch&&!(Scratch={BlockType:{COMMAND:“command”,REPORTER:“reporter”,BOOLEAN:“Boolean”,HAT:“hat”},ArgumentType:{STRING:“string”,NUMBER:“number”,COLOR:“color”,ANGLE:“angle”,BOOLEAN:“Boolean”,MATRIX:“matrix”,NOTE:“note”},vm:window.vm,extensions:{unsandboxed:!0,register(e){let t=vm.extensionManager._registerInternalExtension(e);vm.extensionManager._loadedExtensions.set(e.getInfo().id,t)}}}).vm)throw Error(“The VM does not exist”);if(!Scratch.extensions.unsandboxed)throw Error(“Pen+ must be run unsandboxed”);var Scratch,vm=Scratch.vm,runtime=vm.runtime,canvas=runtime.renderer.canvas,gl=runtime.renderer._gl,ArgumentType=Scratch.ArgumentType,BlockType=Scratch.BlockType,formatMessage=Scratch.formatMessage,log=Scratch.log;function setTurboMode(e){vm.setTurboMode(e)}setTurboMode(confirm(“Set turbo mode? press OK for true, cancel for false”));
- lmccracken7
- Scratcher
100+ posts
Turbo Mode Bookmarklet
… you could just shift-click the green flag, thats easier
Hello! I'm lmccracken7, a scratcher and a Minecraft player!
But sorry, I'm in the middle of some lore RN, talk later?
100th Post: https://scratch-mit-edu.ezproxy.canberra.edu.au/discuss/post/7779844/
if you are reading this then good job, you know how to highlight stuff. also im currently in The Dark Arc, with my character dead.
- romanf6
- Scratcher
44 posts
Turbo Mode Bookmarklet
My browser / operating system: ChromeOS 14092.77.0, Chrome 93.0.4577.107, No Flash version detected how
play sound [ v] until done
turn cw () degrees
turn cw (item ((item ((item ( v) of [list v] :: list) v) of [list v] :: list) v) of [list v] :: list) degrees
- cyanrhino75
- Scratcher
2 posts
Turbo Mode Bookmarklet
clear
turn cw () degrees
turn cw () degrees
go to x: () y: (0)
when backdrop switches to [<<<<<<<((((join [] [world]) - (0)) / (0)) - (0)) < []> = []> > []> > []> > []> = []> < []> v]
hide variable [ v]
change [(☁ score)<[(item ( v) of [list v] :: list) v] contains [thing] ?> v] by (0)
insert [] at (1 v) of [list v]
add [] to [list v]
delete ( v) of [list v]
think []
think [] for (2) secs
switch costume to [ v]
switch backdrop to [ v]
turn cw () degrees
go to [ v]
- ElvenEmperor
- Scratcher
60 posts
Turbo Mode Bookmarklet
no, they're on mobile … you could just shift-click the green flag, thats easier
- julmik6478
- Scratcher
500+ posts
Turbo Mode Bookmarklet
You can already turn on Turbo mode in editor by pressing edit and Turn on Turbo mode.
✊ Support the suggestion HERE by adding this button to your signature ✊
My acounts in some websites:
youtube
planet minecraft
mcreator
- Discussion Forums
- » Developing Scratch Extensions
- » Turbo Mode Bookmarklet