View Full Version : about xanga and changing links


aznpryde
04-16-2003, 08:07 AM
does anyone know about www.xanga.com ? umm i don't know how to change the "eprops" and "comments" to another word.. does anyone know the code?

JoshHartnettGrl
06-17-2003, 04:34 AM
here's my 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 (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "star");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "swirl");
else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "wish upon a star");
}
//-->

basically substitute whatever you want for star (originally eprop), swirl (originally comment) and wish upon a star (originally email it)

the code is pasted in the "website stats" section and not in the custom header one