|
Post by g0alieb0y on Jun 3, 2005 10:12:49 GMT -5
This will make a cool PM bar Preview: none All HEADERS that you want it on _________________________________________________
<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> _________________________________________________
~gb0y
|
|