Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Trol Script 1.0.0
- goldfish678
- Scratcher
1000+ posts
Trol Script 1.0.0
I created a script that literally replaces the entire Scratch website with a trollface.
For setup, create a new bookmark. Give it whatever name you like, then give it a URL of
. Make sure your bookmark is on the bookmarks toolbar, click on it and voila!
Alternatively, just paste the code into the URL bar.
No, this does NOT take you to a seperate page; it may seem like that, but it really doesn't. You can even use Inspect Element to check.
(Wait, I just noticed that it wipes out practically everything… I only expected it to wipe out the contents of the pagewrapper div…)
Anyway, any suggestions?
PLANNED FOR NEXT VERSION:
For setup, create a new bookmark. Give it whatever name you like, then give it a URL of
javascript:pagewrapper.innerHTML="<img src=http://www.getdigital.eu/web/getdigital/gfx/products/__generated__resized/1100x1100/Aufkleber_Trollface.jpg></img>"
Alternatively, just paste the code into the URL bar.
No, this does NOT take you to a seperate page; it may seem like that, but it really doesn't. You can even use Inspect Element to check.
(Wait, I just noticed that it wipes out practically everything… I only expected it to wipe out the contents of the pagewrapper div…)
Anyway, any suggestions?
PLANNED FOR NEXT VERSION:
- troll music, or whatever
- this is where you start suggesting
Last edited by goldfish678 (Oct. 14, 2014 19:56:25)
- bobbybee
- Scratcher
1000+ posts
Trol Script 1.0.0
Must userscript now.
Also, make the topbar with Scratch, Create, Explore… still be visible.
Also, make the topbar with Scratch, Create, Explore… still be visible.
“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
- MegaApuTurkUltra
- Scratcher
1000+ posts
Trol Script 1.0.0
I have a much better idea:
Don't watch all 10 hours
document.getElementByID("pagewrapper").innerHTML = "<iframe src='http://www.youtube.com/embed/BROWqjuTM0g?autoplay=1' style='width:100%;height:100%;'></iframe>";
Last edited by MegaApuTurkUltra (Oct. 14, 2014 14:14:02)
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- goldfish678
- Scratcher
1000+ posts
Trol Script 1.0.0
Hm… ok. Must userscript now.
Also, make the topbar with Scratch, Create, Explore… still be visible.
- Discussion Forums
- » Advanced Topics
- » Trol Script 1.0.0