User:Anomie/highlightme.js

/* If you want to use this script, simply add the following line to your monobook.js:

importScript('User:Anomie/highlightme.js'); // Linkback: User:Anomie/highlightme.js

$(document).ready(function{   var $node=$('#wikiPreview, #bodyContent');
 * (Please keep the comment so I can see how many people use this).

$node.find( 'a' ).not( $node.find( '.autocomment a, a.ext-discussiontools-init-timestamplink' ) ).each( function( i, a ) {       if(/\/User(?:(?:[ _]|%20)talk)?:Anomie/i.test(a.href) && a.href.replace(/#.*/,)!=location.href.replace(/#.*/,)) a.style.color='#0cc';    }) $node.find( 'a.mw-changeslist-title' ).each( function( i, a ) {       if(/\/User:(?:AnomieBOT|AnomieBOT_II|AnomieBOT_III|MedcabBot|MediationBot)\/shutoff\//i.test(a.href)) a.style.color='#f00';    });

if(window.AJAXPreview) AJAXPreview.AddOnLoadHook(arguments.callee); });