User:Tim Laqua/highlightUnpatrolled


 * Highlights unpatrolled Recent Changes entries with a yellow background - easier to see.
 * To install, add the following code to your User JS or MediaWiki:Common.js (for everyone)

function highlightUnpatrolled { if (wgCanonicalNamespace == 'Special' && wgCanonicalSpecialPageName == 'Recentchanges' ) { var colLI = document.getElementsByTagName('li'); for(var i=0; i 0 ) { if (colSPAN[0].className == 'unpatrolled') { colLI[i].style.backgroundColor = '#FFFF99'; }      }     }   } } addOnloadHook(highlightUnpatrolled);