Post by Danvari on Jun 28, 2007 14:40:04 GMT -5
<script type="text/javascript">
<!--
showPost = function(){
document.getElementById("ELSJ").parentNode.firstChild.style.display = document.getElementById("ELSJ").style.display;
document.getElementById("ELSJ").style.display="none";
};
if(location.href.match(/action=post/i)){
for(var t = document.getElementsByTagName("TD"),i = t.length-1,d = "",tbody,row,cell; i > -1; i--){
if(t[i].className.match(/window/i) && t[i].width == "100%" && t[i].firstChild.firstChild && t[i].firstChild.innerHTML.match(/post.+by/i) && d == "" && t[i].firstChild.innerHTML.split(/user=/i)[1].split("\"")[0] == pb_username){
d = "1";
} else if(t[i].className.match(/window/i) && t[i].width == "100%" && t[i].firstChild.firstChild && t[i].firstChild.innerHTML.match(/post.+by/i) && d == ""){
break;
} else if(t[i].height == "18" && t[i].colSpan == "2" && t[i].innerHTML.match(/post reply/i) && d == "1"){
tbody = t[i].parentNode.parentNode.parentNode.appendChild(document.createElement("tbody"));
tbody.id = "ELSJ";
row = tbody.insertRow(0);
cell = row.insertCell(0);
cell.className = "titlebg";
cell.innerHTML = t[i].innerHTML;
tbody.insertRow(1);
tbody.lastChild.insertCell(0);
tbody.lastChild.firstChild.className = "windowbg";
tbody.lastChild.firstChild.innerHTML = "<font size=\"2\">You are about to double post. It is against the rules to do so. If you have a good reason to continue posting, please click the link below. <br/><a href='javascript: void(0);' onClick='showPost()'>Show Posting Area</a></font>";
t[i].parentNode.parentNode.style.display="none";
}
}
}
//-->
</script>
It would help a lot.
Global Header