Log In · Register

 
EEEP! I Know This Script Exists, But I Can't Find It!
Chantreya
post Feb 19 2007, 08:21 PM
Post #1


Member
**

Group: Member
Posts: 10
Joined: Jan 2007
Member No: 497,452



Sorry to be a pain.. xD I looked through the scripts, I got to the "s"s, but that is a LOT of pages to go through. I searched for "comments" and "eprops" and "customize" and "change" to no avail... It's a Xanga script, and I've seen my friends use it before, but they no longer keep their Xangas.

It changes the words "eprops", "comments", etc. to a different word of your choice. Anyone know it?

EDIT: Nevermind, I found it! ^^ Luckily, he still had it on his computer. I don't know who made the code (I know he didn't, because we're both lost when it comes to Javascript), but here it is.

CODE
<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, "EPROPS");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "EPROP");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "COMMENTS");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "COMMENT");
else if (str.match (/subscribe/i)) links[l].innerHTML = str.replace (/subscribe/i, "SUBSCRIBE");
else if (str.match (/subscription/i)) links[l].innerHTML = str.replace (/subscription/i, "SUBSCRIPTION");
else if (str.match (/subscriptions/i)) links[l].innerHTML = str.replace (/subscriptions/i, "SUBSCRIPTION");
else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "SIGN OUT");
else if (str.match (/GuestBook/i)) links[l].innerHTML = str.replace (/GuestBook/i, "GUESTBOOK");
}//--></script>

------------
Glad you found it :) Topic Closed


This post has been edited by digital.fragrance: Feb 20 2007, 03:08 PM
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: