Skip to content

Instantly share code, notes, and snippets.

View Windowszin's full-sized avatar
🐢
I may be slow to respond.

Windowszin

🐢
I may be slow to respond.
View GitHub Profile
@Windowszin
Windowszin / Funni.user.js
Created August 31, 2023 14:31
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==
@Windowszin
Windowszin / Scratch reactRootContainer-Abuse.user.js
Created August 31, 2023 14:31
Userscript for admin panel (in Scratch)
// ==UserScript==
// @name Scratch reactRootContainer-Abuse
// @namespace https://scratch.mit.edu/users/BananaFrita412/
// @version 1.0
// @description Spam reactRootContainer in Scratch's homepage.
// @author https://scratch.mit.edu/users/BananaFrita412/
// @match https://scratch.mit.edu/
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAAoCAMAAACB8PcsAAAAQlBMVEUlr/T+8ND+357+ylv9uSj957X9wD3///8osPQZq/T+0nT/+u79sAz+2IY3tvV7zvby+/9lxvdNvfXW7/u04/mV2PeuRWLbAAABsUlEQVRIx+2U2Y6lMAxEY8d2dnb+/1enAtzul9EorX4bUUIsET7Exi7nXr169VfF+MvoCxAhl6B4qy/cLwyTrvD0XN20rVO65a7naXJpEBbTtJ77PrsEyrbuATrneT7P1W3zvC/Lsq9jsJjWpYeH47yvhSg82j83YQgW0xYCac7lwahIbaSqzFhSbSbCYR/b1tHDDe8XL/3Gk1YxSDxWTLJmKcs0BNuDZSreslQlZgT3BcXWqkguamQ+LEP1mpYiKvi2z9m4Uq4NGWffhFlJ2CoLhXOgXviJSxDOHpHEvpBid43MPNfMBlbLBNY2xFoDiWf1ihp5MjWjzHqxGpJkbfoDFipSPTGKgxwB1coqvtWGwzernXUMsWawigJhXlvxjIKZVCPyRg3polq99pMbY2FDVrEfQwdIFi7KSBj9kbGC/Ad7orcquigrobkQRs249zk6VQsy5N6qpuO9Gso1O+UzMOcZvlWojM4QaMcS9rMP43LM87Efa0qYaeg4jhNf
javascript:void%20function(){alert(%22MADE%20BY%20BananaFrita412\n\npls%20use%20in%20Scratch%20homepage!!!!!%22),document.querySelector(%22%23app%22)._reactRootContainer._internalRoot.current.child.stateNode.props.store.getState().permissions.educator=!0,document.querySelector(%22%23app%22)._reactRootContainer._internalRoot.current.child.stateNode.props.store.getState().permissions.admin=!0,document.querySelector(%22%23app%22)._reactRootContainer._internalRoot.current.child.stateNode.props.store.getState().permissions.scratcher=!0,document.querySelector(%22%23app%22)._reactRootContainer._internalRoot.current.child.stateNode.props.store.getState().permissions.social=!0}();