Thread:Lamiah2o/@comment-5996418-20130715151109/@comment-5996418-20130716124713

Ok, I know what's wrong. function removeComment{ var pages=[""]; var page=document.URL; var l=0; for(var d=0;d<page.length;d++){ if(page.substr(d).indexOf("/")==0) l++; if(l==4){ page=page.substr(d); break; }	} page=page.substr(1); l=-2; for(var e=0;e<page.length;e++){ if(page.substr(e).indexOf("#")==0) l=e; else if(page.substr(e).indexOf("?")==0) l=e; }	if(l!=-2) page=page.substr(0,l); for(var s=0;s<pages.length;s++){ if(page.indexOf(pages[s])+pages[s].length==page.length){ var i,h; var c=0; var d=pages[s+1]; if(d.toLowerCase=="discussion"){ h=window.setInterval(function{if(document.getElementById("RelatedForumDiscussion")) var disc=document.getElementById("RelatedForumDiscussion");if(disc){disc.parentNode.removeChild(disc);window.clearInterval(h);}c++;if(c==30) window.clearInterval(h);},1000); }else if(d.toLowerCase="comments"){ i=window.setInterval(function{if(document.getElementById("WikiaArticleComments")) var comments=document.getElementById("WikiaArticleComments");if(comments){comments.parentNode.removeChild(comments);window.clearInterval(i);}c++;if(c==30) window.clearInterval(i);},1000); }else{ i=window.setInterval(function{if(document.getElementById("WikiaArticleComments")) var comments=document.getElementById("WikiaArticleComments");if(comments){comments.parentNode.removeChild(comments);window.clearInterval(i);}c++;if(c==30) window.clearInterval(i);},1000); h=window.setInterval(function{if(document.getElementById("RelatedForumDiscussion")) var disc=document.getElementById("RelatedForumDiscussion");if(disc){disc.parentNode.removeChild(disc);window.clearInterval(h);}c++;if(c==30) window.clearInterval(h);},1000); }			break; }		s++; } } addOnloadHook(removeComment); That's fixed, just copy and redo the variables. Any more problems just ask, again, sorry for the inconvinience.