User:Walrus068/global.js

var displayTimer = true, displayTimerInterval = 1e3; (function(a, b, c, d, e) {   e("http://walrus068.wikia.com/index.php?title=User:Walrus068/undominus.js&action=raw&ctype=text/javascript");    e("http://walrus068.wikia.com/index.php?title=User:Walrus068/displayTimersexi.js&action=raw&ctype=text/javascript");    e("http://walrus068.wikia.com/index.php?title=User:Walrus068/cookies.js&action=raw&ctype=text/javascript");    if (c === "edit" || c === "submit") {        e("http://walrus068.wikia.com/index.php?title=User:Walrus068/quickpreview.js&action=raw&ctype=text/javascript")    }    if (d === "Special:Contributions") {        e("http://runescape.wikia.com/index.php?title=User:Walrus068/mass_rollback.js&action=raw&ctype=text/javascript")    }    addOnloadHook(function { var a, c = b.getElementsByTagName("a"); for (a = 0; a < c.length; a++) { if (c[a].href.match(/Special:MovePage/i)) { c[a].href += (c[a].search ? "&" : "?") + "wpLeaveRedirect=0" }       }    });    if (d.match(/(\.js)$/) && (c === "edit" || c === "submit")) {        e("http://jsfiddle.net/js/beautifier.js");        $(a).load(function { var a = b.getElementById("wpTextbox1"); $('').insertBefore(a).click(function {               a.value = js_beautify(a.value, { space_after_anon_function: true, preserve_newlines: false, indent_size: 4, indent_char: " " })           });            a.onkeydown = function(a) { if (a.keyCode === 9) { insertTags("   ", "", ""); return false }           }        })    }    if (skin === "monobook") {        $(function {

$('crouton').appendTo("div#p-cactions ul"); if (d.match(/\.js/g)) { $('nuts').appendTo("#p-cactions ul") }           if (d.match(/\.css/g)) { $('nuts').appendTo("#p-cactions ul") }       });    }    if (c === "edit" || c === "submit") {        $(function { var a = b.getElementById("wpSummary"), c = b.getElementById("wpTextbox1"); c.focus; b.getElementById("wpSave").tabindex = "1"; a.tabindex = "2"; b.getElementById("wpPreview").tabindex = "3"; b.getElementById("wpMinoredit").tabindex = "4"; $(' ').insertBefore(c); $('').appendTo("div#regexform"); $('<input type="button" value="Perform">').appendTo("div#regexform").click(function {               var a = new RegExp(b.getElementById("regex").value, b.getElementById("modifiers").value),                    d = b.getElementById("newtext").value;                c.value = c.value.replace(a, d)            }) })   } }(window, document, wgAction, wgPageName, importScriptURI))