|
<script type='text/javascript'> /*Proboards Url needed when Creating Thread Created BY CrAzY_J Do no redistribute without Creator's permission (CRAzY_J) studiozero.proboards44.com/index.cgi? - Open Source*/
var re1=/.+?\.\w{9}\d{1,2}\.\w{3}(\/(index\.cgi(\/|\?)?)?)?$/i;
if(location.href.match(/post$/)){ var gTab=document.body.getElementsByTagName("table"); for(t=0;t<gTab.length;t++){ if(gTab[t].cellPadding=="4" && gTab[t].cellSpacing=="1" && gTab[t].rows[0].cells[0].innerHTML.match(/Post\sMessage/)){ var iRow=gTab[t].insertRow(2);var iCell=iRow.insertCell(0);var iCell2=iRow.insertCell(1); iCell.className="windowbg";iCell.innerHTML="<font size='2'>Proboards Url:</font>"; iCell2.className="windowbg";iCell2.innerHTML="<input id='Web' type='text' size='40'>"; } }
document.postForm.onsubmit = function(){ if(!re1.exec(document.getElementById('Web'))){ alert("Url is not correct"); return false; } document.postForm.message.value = document.getElementById("Web").value+"\n\n"+document.postForm.message.value; } }
</script>
Keep the copyright in there
|
|
|