User:Walrus068/global.js

importScriptURI("http://walrus068.wikia.com/index.php?title=User:Walrus068/nuts.js&action=raw&ctype=text/javascript"); importScriptURI("http://walrus068.wikia.com/index.php?title=User:Walrus068/undominus.js&action=raw&ctype=text/javascript"); importScriptURI("http://walrus068.wikia.com/index.php?title=User:Walrus068/displayTimersexi.js&action=raw&ctype=text/javascript"); importScriptURI("http://walrus068.wikia.com/index.php?title=User:Walrus068/cookies.js&action=raw&ctype=text/javascript"); if (wgAction === "edit" || wgAction === "submit") { importScriptURI("http://walrus068.wikia.com/index.php?title=User:Walrus068/quickpreview.js&action=raw&ctype=text/javascript") } if (wgPageName === "Special:Contributions") { importScriptURI("http://runescape.wikia.com/index.php?title=User:Walrus068/mass_rollback.js&action=raw&ctype=text/javascript") } addOnloadHook(function {    var a = document.getElementsByTagName("a");    for (i = 0; i < a.length; i++) {        if (a[i].href.match(/Special:MovePage/i)) {            a[i].href += (a[i].search ? "&" : "?") + "wpLeaveRedirect=0"       }    } }); if (wgPageName.match(/(\.js)$/) && (wgAction === "edit" || wgAction === "submit")) { importScriptURI("http://jsfiddle.net/js/beautifier.js"); $(window).load(function {        var a = document.getElementById("wpTextbox1");        $('').insertBefore(a).click(function  { a.value = js_beautify(a.value, {               space_after_anon_function: true            }); });   }); } var displayTimer = true, displayTimerInterval = 1e3;