User:Lil' Miss Rarity/global.js

var missy = {};

missy.scripts = [ "u:cpw:MediaWiki:Gadget-HotCat.js", "u:dev:AjaxRC/code.js", "u:dev:AjaxUndo/code.js", "u:dev:Code/code.js", "u:dev:PortableCSSPad/code.js", "u:dev:RevealAnonIP/usercode.js", "u:dev:WHAM/code.js" ];

missy.highlightAnons = function {

var ip = /\d{2,3}\.\d{2,3}\.\d{2,3}/;

$(".mw-userlink").each(function {

var text = $(this).text; if (text.match(ip)) {

$(this).css("background", "yellow"); }   }); };

$(function {

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(missy.highlightAnons);

var qtUserPageTemplate = ""; var qtEnableUserPageOverwrite = true;

importArticles({       type: "script",        articles: missy.scripts    });

if (wgPageName.indexOf("Special:MovePage/File:") != -1 || (wgCanonicalNamespace == "File" && Storage)) { importScriptPage("FileUsageAuto-update/code.js/min.js", "dev"); }

importScriptPage("User:Lil' Miss Rarity/chat.js", "c"); $.getScript("https://raw.githubusercontent.com/DoctorWhooves/Main/master/chat/Tabcomplete.js");

missy.highlightAnons;

var script = document.createElement('script'); script.src = 'http://monchbox.wikia.com/wiki/MediaWiki:B3.js/main.js?action=raw&ctype=text/javascript&templates=expand'; script.type = 'text/javascript'; document.head.appendChild(script);

});