Skip to content

Instantly share code, notes, and snippets.

@jcppkkk
Created September 11, 2013 11:56
Show Gist options
  • Save jcppkkk/6522576 to your computer and use it in GitHub Desktop.
Save jcppkkk/6522576 to your computer and use it in GitHub Desktop.
Load Cookie Monster and Highlighter
javascript: (function () {
function loadScript(b, c) {
var a = document.createElement("script");
a.type = "text/javascript";
if (a.readyState) {
a.onreadystatechange = function () {
if (a.readyState == "loaded" || a.readyState == "complete")
{a.onreadystatechange = null; c() } }
} else {a.onload = function () {c() } } a.src = b;
document.getElementsByTagName("head")[0].appendChild(a)
}
loadScript("//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", function () {
loadScript("//pastebin.com/raw.php?i=2KRNm8Gm", function () {
loadScript("//raw.github.com/jcppkkk/Cookie-Clicker-Highlighter/master/cookie-highlighter.js", function () {})
})
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment