User:Lil' Miss Rarity/global.js

//Quick create userpage var qtUserPageTemplate = ""; var qtEnableUserPageOverwrite = true;

//Advanced oasis UI window.AdvancedOasisUI = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, DefaultSourceMode: true, lightbox: true, randomPageLimitedTo: '', activity2RC: false, userLang: true, };

//Ajax RC window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(highlightAnons); importArticles({   type: "script",    articles: [        "u:dev:MarkForDeletion/code.js",        "u:dev:RevealAnonIP/usercode.js",        "u:dev:QuickCreateUserPage/code.js",        "u:c:User:Prince(ss)_Platinum/vda.js",        "u:vda:MediaWiki:VDA2.-3.js",        "u:princess-platinum-test:MediaWiki:Stuff.js",        "u:dev:WHAM/code.js",        "u:dev:AjaxRC/code.js",        "u:dev:AjaxUndo/code.js",        "u:dev:AdvancedOasisUI/code.js"    ] });

function highlightAnons {

//IP regular expression var ip = /\d{2,3}\.\d{2,3}\.\d{2,3}/; //Check if user is anon and highlight $(".mw-userlink").each(function {       var text = $(this).text;

if (text.match(ip)) { //Highlight $(this).css("background", "yellow"); }   });

}

$(document).ready(function {

highlightAnons;

});

mw.loader.load("http://doctorwhooves.github.io/scripts/avb.js");

$(".wikia-bar").last.find(".tools").append('Firebug').click(function {        function (F, i, r, e, b, u, g, L, I, T, E) {            if (F.getElementById(b)) return;            E = F[i + 'NS'] && F.documentElement.namespaceURI;            E = E ? F[i + 'NS'](E, 'script') : F[i]('script');            E[r]('id', b);            E[r]('src', I + g + T);            E[r](b, u);            (F[e]('head')[0] || F[e]('body')[0]).appendChild(E);            E = new % 20Image;            E[r]('src', I + L);        })(document, 'createElement', 'setAttribute', 'getElementsByTagName', 'FirebugLite', '4', 'firebug-lite.js', 'releases/lite/latest/skin/xp/sprite.png', 'https://getfirebug.com/', '#startOpened'); });