|
function replaceWords()
{
// ***add the words or fragments you wish to replace below
var oldWords = new Array(
"Subscriptions",( My Buddies)
"Publish Comments",
"add eProps",
"eprop",(Seductive Red Crayon)
"eProps",
"add comments",
"comment", (Love Letter)
"comments",
"email it", (One way to contact me)
"view entire profile",
"sign my guestbook", (Sign thee book o' guests)
"My Blogrings",
"Posting Calendar",(Dates and Times)
"Get Involved!",(Become an Xangaholic)
"sign out",(See ya later Alligator!)
"Name:",(The lovely one)
"Birthday:", (One magical day)
"Gender:",(Almost lovely...)
"State:", (Place where I party)
"Country:",(Forgein?)
"Interests:",(Lusts)
"Expertise:",(What I kick at)
"Website",
"Email",
"Member since:"); (Xangaholic since)
// *** add the replacing words or fragments below
var newWords = new Array(
"Subscriptions",(My Buddies)
"Publish Comments",
"add eProps",
"eprop",(Seductive Red Crayon)
"eProps",
"add comments",
"comment",(Love Letter)
"comments",
"email it",(One way to contact me)
"view entire profile",
"sign my guestbook",(Sign my book o' gifts)
"My Blogrings",
"Posting Calendar",(Dates and Times)
"Get Involved!",(Become an Xangaholic)
"sign out",(See ya later Alligator!)
"Name:",(The lovely one)
"Birthday:",(One magical day)
"Gender:",(Almost lovely...)
"State:",(Place where I party)
"Country:",(Forgein)
"Interests:",(Lusts)
"Expertise:",(What I kick at)
"Website",
"Email",
"Member since:";(Xangaholic since)
allTableData = document.getElementsByTagName('td');
allTableHeaders = document.getElementsByTagName('th');
var collections = new Array(allTableData,allTableHeaders);
for (var k = 0; k < collections.length; ++k )
{
for (var i = 0; i < collections[k].length; ++i )
{
if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
{
for ( var n = 0; n < oldWords.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
collections[k][i].innerHTML = replacement;
break;
}
}
}
}
}
}
replaceWords(); |