inherit
52328
0
Mar 13, 2009 16:15:58 GMT -8
CrAzY_J
871
July 2005
crazyj2
|
Post by CrAzY_J on Oct 10, 2005 20:24:50 GMT -8
Global Footers <script type="text/javascript"> /* Remove Karma Actions Created By CrAzY_J Do not redistribute this code */
function RemoveKarma(number) { var gCell = document.body.getElementsByTagName("td"); for( lp = 0 ; lp < gCell.length ; lp ++ ) { if( gCell[lp].width == "20%" && gCell[lp].innerHTML.match(/Joined:/) ) { switch(number){ case 1: gCell[lp].innerHTML = gCell[lp].innerHTML.replace(/\[\s<a.+?>Exalt<\/a>\s\|/i,'['); case 2: gCell[lp].innerHTML = gCell[lp].innerHTML.replace(/\|\s<.+?>Smite<\/a>/i,''); case 3: gCell[lp].innerHTML = gCell[lp].innerHTML.replace(/\[\s.+?>Exalt.+?>Smite<\/a>\s\]/i,''); break; } } } }
if( this.location.href.match(/(view|display|recent|search)/) ) RemoveKarma(1) </script> To use this code you need to edit the orange number, depending on the number, it will remove a karma action. 1: One will remove the "Exalt" action. 2: Two will remove the "Smite" action 3: Three will remove both the "Exalt" and the "Smite" action.
Warning: If a user has javascript disabled on their web browser, they can still Smite or Exalt another user. You can use the "Make Karma Stand out in Security log" code located at Studio Zero (in my signature) to see if anyone still uses one of the karma actions you have disabled.
|
|