Skip to content

Instantly share code, notes, and snippets.

@Windowszin
Created August 31, 2023 14:31
Show Gist options
  • Save Windowszin/cc161d417849abf471cbda94d42ec13a to your computer and use it in GitHub Desktop.
Save Windowszin/cc161d417849abf471cbda94d42ec13a to your computer and use it in GitHub Desktop.
Troll userscript for Scratch.
// ==UserScript==
// @name Funni
// @namespace http://tampermonkey.net/
// @version 1.0
// @description try to take over the world!
// @author XxMarcos_
// @match https://scratch.mit.edu/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=mit.edu
// @grant none
// ==/UserScript==
(function() {
'use strict';
var image = document.getElementsByTagName("img");
for (var i = 0; i < image.length; i++) {
image[i].src = "https://i1.sndcdn.com/artworks-XAVjL3tCPWjdrp2a-fjPL9g-t240x240.jpg";
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment