Triad
New Member
Posts: 33
|
Post by Triad on Nov 16, 2008 15:50:28 GMT -5
Allows you to remove or replace the brackets around the exalt and smite links with something else.
Global Footers
<script type="text/javascript"><!-- /* Remove/Replace Brackets Around Exalt and Smite Open Source */
// Symbol to left, middle, and right. Leave blank for nothing. var kSpace = [ "", " ", "" ];
for(var td=document.getElementsByTagName("td"), x=6; x<td.length; x++){ if(td[x].width == "20%" && td[x].innerHTML.match(/action=karma/i)){ var br = td[x].innerHTML.split(/<br\s?\/?>/i); var i = br.length; while(--i > -1){ if(br.match(/action=karma/i)){ td[x].innerHTML = td[x].innerHTML.replace(br, kSpace[0] + br.match(/<.+?>.+?<\/a>/gi).join(kSpace[1]) + kSpace[2]); break; } } } } //--></script>
|
|