This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://www.decisionproblem.com/paperclips/index2.html | |
// @updateURL https://gist.github.com/MadbHatter/471b1eaf32b4cde899dfd806fb92ae63 | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Kerrigan Mode | |
// @namespace https://swarmsim.github.io/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://swarmsim.github.io/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
function removeAllEntries() { | |
var checkboxes = document.querySelectorAll("input[type=\"checkbox\"]"); | |
if (checkboxes.length === 0) return; | |
for (var i = 0; i < checkboxes.length; i++) { | |
var el = <HTMLInputElement>checkboxes[i]; | |
el.checked = true; | |
} | |
var el = <HTMLInputElement>checkboxes[0]; | |
el.click(); |