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",        "u:dev:PortableCSSPad/code.js",        "u:c:User:Lil'_Miss_Rarity/quicktools.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;

});