script to change e-props/comments |
script to change e-props/comments |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Feb 2004 Member No: 2,818 ![]() |
umm, yeah, i am having some trouble on finding the script to change e-props and comments so they say something else, it would be a great help if some would could post it for me
|
|
|
![]() |
![]()
Post
#2
|
|
html god ![]() ![]() ![]() Group: Member Posts: 67 Joined: Jun 2004 Member No: 21,252 ![]() |
here it is..
<script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "cents"); else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "cent"); else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "dollars"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "dollar"); else if (str.match (/subscribe!/i)) links[l].innerHTML = str.replace (/subscribe!/i, "add me"); else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "log out"); }//--> </script> |
|
|
![]() ![]() |