User:Human/monobook adfree.js

function curse { var bads = document.getElementsByTagName("a"); var i; for (i=0;i 0 && bads[i].childNodes[0].nodeName == "FONT") { bads[i].innerHTML = "CUR"; }   if (bads[i].getAttribute("title")=="User talk:ConservapediaUndergroundResistor" && bads[i].childNodes.length > 0         && bads[i].childNodes[0].childNodes.length > 0 && bads[i].childNodes[0].childNodes[0].nodeName == "FONT") { bads[i].innerHTML = "talk"; } } }

addOnloadHook(curse);

importScript('User:Nx/Scripts/Smileylist.js');

/* the following hides blocks from my watchlist, with a slight side-effect */

function blocklog{ if (wgCanonicalSpecialPageName == "Watchlist"){ var wlist = getElementsByClassName(document.getElementById('bodyContent'),"ul","special"); var x; for (x=0;x=0;i=i-1) {    var bads=list[i].getElementsByTagName("a"); var j=0; for (j=0;j 0) {           parent.removeChild(list[i]); }    }   }  }  } } addOnloadHook(blocklog);