(Tested on iOS 15.3.1)
Note: Depending how your browser loads this, sound effects will either be turned off or replaced with the entire main menu song. Make sure your volume is turned down.
- Go into the shortcuts app.
- Create a shortcut.
- Name your shortcut something.
- Tap on the settings icon at the top right.
- Enable "Show in Share Sheet."
- Hit done.
- Add the "Run Javascript on Web Page" action.
- Copy the above code, and paste it into the action.
- Open Safari. (From what I've seen, it has to be Safari)
- Naviagate to a 404 page on TETR.IO, like https://tetr.io/404.
- Hit the share icon.
- Scroll down until you find your shortcut.
- Run it.
- Close out of the share menu.
- If TETR.IO gets stuck on loading SFX, run the shortcut again.
-
Naviagate to a 404 page on TETR.IO, like https://tetr.io/404.
-
Open the console.
-
Run the above code.
-
If TETR.IO checks your browser:
The code won't run correctly, so run the code again.
This script is very interesting!
i wonder if you can make it to work with ogv.js so that ogg can be loaded on tetrio?, just like what some people in tetrio issues #425 suggest