|
Post by Trip on Nov 22, 2014 9:45:51 GMT -5
Hey people. As a request of some sort, I was to make a PM enhancement. I was pretty pleased with the results, so I've decided to officially release it. It's quite a simple code. ^^ BTW, this is my 1st PM hack. =D What does it do?When you get a new PM, the hack will take its effect. Once you see the "winged envelope", CLICK ON IT to check your new PMs. Hopefully, the hosting for that animated image will remain intact since the image itself was stolen. XD Here's a little preview:Goes in Main Footer (optional: ALL Board Footers too):<script languge="JavaScript"> <!-- //Winged-PM //Created by Trip //Goes in MAIN FOOTER (optional: ALL Board Footers too) keySeq = document.body.getElementsByTagName('td'); if(location.href.indexOf("=headersfooters")==-1){ for(mid=1;mid<keySeq.length;mid++){ if(keySeq[mid].innerHTML.match(/(\D)[1-9](\s)(are|is) new./)){ keyStruc = "<strong>You Have New Private Message(s)</strong><br>"; keyStruc+="<a href='/index.cgi?action=im'>"; keyStruc+="<img src='http://home.comcast.net/~locarblane/storage/newPM.gif' border='0'></a>"; keySeq[mid].innerHTML = keyStruc;}}} //--> </script> Please enjoy! ^^
|
|