Last active
October 20, 2017 10:19
-
-
Save MadbHatter/2d5479f7e57b7eb9cb21dccaa8ae9b98 to your computer and use it in GitHub Desktop.
Unleash Kerrigan upon the swarmsim!
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() { | |
'use strict'; | |
console.log(localStorage); | |
var testWindow = window.open("about:blank", "testWindow", "height=600,width=500"); | |
if(testWindow == null){ | |
alert("It seems that your browser or a extension blocked the \"Kerrigan Mode Window\"\nPlease allow popups on swarmsim.github.com"); | |
}else{ | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment