User:JackSchmidt/blofeld.js

// Fix spammer without bot flag on Special:Newpages addOnloadHook( function {  if(wgPageName=='Special:Newpages') {    var ols=document.getElementsByTagName("ol");    for(var i=0;i<ols.length;i++) {      if(ols[i].className=="special") {        var lis=ols[i].getElementsByTagName("li");        for(var j=0;j<lis.length;j++) {          var as=lis[j].getElementsByTagName("a");          for(var k=0;k<as.length;k++) {            if(as[k].title=="User:Blofeld of SPECTRE") {              lis[j].style.display="none";            }          }        }      }    }  } });