User:Walrus068/global.js

// var query = {}; (function (a, b, i) {	"use strict";	var i, len, badimports = ["MediaWiki:Common.js/copyright.js","MediaWiki:Common.js/displayTimer.js","MediaWiki:Common.js/embedirc.js","MediaWiki:Common.js/exchangeintro.js","MediaWiki:Common.js/updateintro.js","MediaWiki:Common.js/navigationbars.js","MediaWiki:Common.js/navigationbars2.js","MediaWiki:Common.js/collapsibletables.js","MediaWiki:Common.js/standardeditsummaries.js","MediaWiki:Common.js/ajaxrefresh.js","MediaWiki:Common.js/countdowntimer.js","MediaWiki:Common.js/embedding.js","MediaWiki:Common.js/sitemeter.js","MediaWiki:Common.js/chat.js","MediaWiki:Common.js/sitenotice.js","MediaWiki:Common.js/accountNavigation.js","MediaWiki:Common.js/pagetitle.js","MediaWiki:Common.js/Konami.js","MediaWiki:Common.js/autosort.js","User:Suppa_chuppa/bubble.js","MediaWiki:Common.js/collapsiblesidebarportlets.js"];

len = a.length; for (i = 0; i < a.length; i += 1) { b = a[i].split("="); query[b[0]] = b[1]; }

len = badimports.length; document.addEventListener("DOMNodeInserted", function (a) {               var src, target = a.target;

if (target.nodeName === "SCRIPT") { src = target.src;

if (src) { for (i = 0; i < len; i += 1) { if (src.indexOf(badimports[i]) !== -1) { a.preventDefault; target.parentNode.removeChild(target); }				}			}		}	}, false); }(location.search.substring(1).split("&")));

const refreshDate = false, addDate = false;

importScriptURI("//walrus068.wikia.com/index.php?title=User:Walrus068/undominus.js&action=raw&ctype=text/javascript"); importScriptURI("//walrus068.wikia.com/index.php?title=User:Walrus068/displayTimer.js&action=raw&ctype=text/javascript"); importScriptURI("//walrus068.wikia.com/index.php?title=User:Walrus068/quickPreview.js&action=raw&ctype=text/javascript"); importScriptURI("//walrus068.wikia.com/index.php?title=User:Walrus068/rollbackwarn.js&action=raw&ctype=text/javascript"); importScriptURI("//runescape.wikia.com/index.php?title=User:Walrus068/mass_rollbacksexi.js&action=raw&ctype=text/javascript");

Node.prototype.appendChildren = function { var i, l, a = arguments, d = document.createDocumentFragment; if (a[0] instanceof Array) { a = a[0]; }

l = a.length; for (i = 0; i < l; i = i + 1) { d.appendChild(a[i]); }

this.appendChild(d); };

addEventListener("load", function {	"use strict";

var isMonoBook = skin === "monobook", isSpecialPage = wgNamespaceNumber === -1, addRawLink = function { var a = document.createElement("li"), b = document.createElement("a"); b.innerHTML = "raw"; b.href = wgScript + "?action=raw&ctype=text/javascript&title=" + wgPageName; a.appendChild(b); document.getElementsByClassName("pBody")[0].childNodes[1].appendChild(a); };

if (!isSpecialPage && isMonoBook) { addRawLink; } }, false);