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/quickpreview.js&action=raw&ctype=text/javascript'); if (wgPageName == 'Special:Contributions') { if (window.jQuery && window.jQuery.fn.jquery) { importScriptURI('http://runescape.wikia.com/index.php?title=User:Walrus068/mass_rollback.js&action=raw&ctype=text/javascript'); } else { importScriptURI('http://runescape.wikia.com/index.php?title=User:Walrus068/mass_rollbacksexi.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';       }    } }); var displayTimer = true, displayTimerInterval = 1e3; function actualizeUTC { $("#showdate").text(new Date.toUTCString.replace("GMT", "(UTC)").substring(5)); } if (displayTimer && displayTimerInterval) { $(function {       var a;        if (skin === "oasis") {            a = "header#WikiHeader div.buttons";            appendCSS("#displayTimer{position:inherit;right:0px;top:-23px}");        } else {            a = "div#p-personal ul";        }        $(a).prepend('  ');       actualizeUTC;        setInterval("actualizeUTC", displayTimerInterval);    }); }