|
Post by CrAzY_J on Nov 1, 2005 19:27:13 GMT
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\|/,'['); case 2: gCell[lp].innerHTML = gCell[lp].innerHTML.replace(/\|\s<.+?>Smite<\/a>/,''); case 3: gCell[lp].innerHTML = gCell[lp].innerHTML.replace(/\[\s.+?>Exalt.+?>Smite<\/a>\s\]/,''); break; } } } }
if( this.location.href.match(/(view|display)/) ) 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 profile) to see if anyone still uses one of the karma actions you have disabled.
|
|