|
Post by Akai Shuichi on Mar 13, 2005 19:21:15 GMT
All Headers: <script type="text/javascript"> <!-- //Oni PM Bar v1.0 //Code Created By Himura
TD = document.getElementsByTagName('TD') TD[2].style.display="none" TB = document.getElementsByTagName('Table')[0].insertRow(2) InCell = TB.insertCell(-1) InCell.align='center' InCell.className='catbg'
if(TD[2].innerHTML.match(/Hey, (.+?), you /i)){ CurName = RegExp.$1 } if(TD[2].innerHTML.match(/0 are new/i)){ InCell.innerHTML+="["+CurName+"] - [<a href='index.cgi?action=im'>No New Messages</a>]" }else if(TD[2].innerHTML.match(/1 is new/i)){ InCell.innerHTML+="["+CurName+"] - [<a href='index.cgi?action=im'>1 New Message</a>]" }else if(TD[2].innerHTML.match(/Guest/i)){ InCell.innerHTML+="[Guest] - [<a href='index.cgi?action=login'>Login</a>] [<a href='index.cgi?action=register'>Register</a>]" }else{ InCell.innerHTML+="["+CurName+"] - [<a href='index.cgi?action=im'>You Have New Messages</a>]" } //--> </script>
Enjoy
|
|