|
Post by CD on Jun 27, 2005 19:48:25 GMT -8
<script> // Disable view "Replies" by CDDude229
if(location.href.match(/board=/i) && !location.href.match(/action=(display|post|createpoll|modifypost)/i)){ var aTD = document.getElementsByTagName("TD"); for(a=0;a<aTD.length;a++){ if(aTD[a].width=="4%" && aTD[a].className=="windowbg" && aTD[a+1].width=="4%" && aTD[a+1].className=="windowbg"){ aTD[a].firstChild.innerHTML=aTD[a].getElementsByTagName("A")[0].innerHTML; }}} </script> This will disable the option to view replies for a thread. For an example of what it'll disable, go to any board, and click the number in the replies column. Put in Global or All Board footers.
Last Edit: Jun 27, 2005 19:55:46 GMT -8 by CD
|
|
|
Post by ShadowyOne on Jun 27, 2005 21:12:40 GMT -8
Good job; another code made by you. Don't know why you'd want to use this one, but the fact that you made it is good enough for me, considering I couldn't do that.
Oh yeah, I added this into the code index under "Board / Sub-Board Hacks." I guess I forgot to put in the last one after I moved it. =P
|
|
|
Post by CD on Jun 27, 2005 21:23:12 GMT -8
Yeah, you did. On reason, may be because of privacy reasons, or well, who knows. Someone may just want it because they don't like having that link there XD
|
|