User:Nathanyel/darkvector.js

addOnloadHook(function{

t={}; ul=document.getElementsByTagName('ul')[0]; u=ul.childNodes; rem=function { b.parentNode.removeChild(b); for(i=0;i-1) {  t[title]=1; ul.removeChild(u[i]); i-- } else if(t[title]) {   ul.removeChild(u[i]); i-- } } }; if(location.href.indexOf("Special:Contributions")>-1&location.href.indexOf("Nathanyel")>-1) { b=document.createElement('button'); ul.parentNode.insertBefore(b,ul); b.innerHTML="remove top"; b.onclick=rem; }

});