User:Nathanww/monobook.js

importScript("User:Lupin/recent2.js"); importScript('User:AzaToth/morebits.js'); importScript('User:AzaToth/twinklefluff.js'); importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu'); importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css'); importScript('User:AzaToth/twinklewarn.js'); importScript('User:AzaToth/twinklearv.js'); importScript('User:AzaToth/twinklespeedy.js'); importScript('User:AzaToth/twinklediff.js'); importScript('User:AzaToth/twinkleprotect.js'); importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu'); importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css'); importScript('User:AzaToth/twinkle.js'); mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:VoA/monobook.js'             + '&action=raw&ctype=text/javascript'); addOnloadHook(function {    var addr;    if (wgCanonicalNamespace == "Special" && wgCanonicalSpecialPageName == "Contributions")        addr = document.forms[0].target.value;    else if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk")        addr = wgTitle;

if (!/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/.test(addr)) return; // not an IP

mw.util.addPortletLink('p-tb', 'http://www.robtex.com/rbls/'+addr+'.html',                  'RBL check', 't-rblcheck', 'Multi-RBL check'); });