inherit
32452
0
Aug 17, 2009 13:47:15 GMT -8
XxACAxX
1,571
October 2004
xxacaxx
|
Post by XxACAxX on Jun 19, 2005 13:56:33 GMT -8
<script type="text/javascript"> <!-- /* remove smite link & change "karma" */ var karmaReplace="Reputation"; var link=document.getElementsByTagName("a"); if(location.href.match(/action=(display|viewprofile|goto)/)){ for(i=0;i<link.length;i++){ if(link.href.match(/action=karma.+type=2$/)){ link.style.display="none"; var mp=link.parentNode; var temp=mp.innerHTML.replace('Karma:',karmaReplace+':'); mp.innerHTML=temp.replace(' | ',''); } } } // --> </script>
This only works when you can Exalt someone. But once you don't have the option to Exalt someone (during the time your waiting 2 hours) it comes up as "Karma" and not "Reputation". How would I.. make it so it always comes up as "Reputation" and never as "Karma"?
|
|
inherit
32452
0
Aug 17, 2009 13:47:15 GMT -8
XxACAxX
1,571
October 2004
xxacaxx
|
Post by XxACAxX on Jun 19, 2005 14:16:51 GMT -8
Very, very sorry for double-posting. But I'm confused, Peter told me not to post it on this board so I posted it in the other one, and then Kamel moved it back here
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 19, 2005 14:46:10 GMT -8
This should do it <script type="text/javascript"> <!-- /* remove smite link & change "karma" */ var karmaReplace="Reputation"; var link=document.getElementsByTagName("a"); if(location.href.match(/action=(display|viewprofile|goto)/)){ for(i=0;i<link.length;i++){ if(link .href.match(/action=karma.+type=2$/)){ link.style.display="none"; } var mp=link.parentNode; var temp=mp.innerHTML.replace('Karma:',karmaReplace+':'); mp.innerHTML=temp.replace(' | ',''); } } // --> </script>
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 19, 2005 15:06:11 GMT -8
Very, very sorry for double-posting. But I'm confused, Peter told me not to post it on this board so I posted it in the other one, and then Kamel moved it back here Please modify your post next time. You posted in the general programming board, it should have gone into the request board, because you wanted the code to be changed.
|
|