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 10, 2006 12:19:58 GMT -8
Global FooterSimply put, all users start off with a certain amount of karma. <script type="text/javascript"> <!-- /* default amount of karma - ross */ var default_karma = 5; if(location.href.match(/action=(display|gotopost|(pm)?(calendar)?view|(user)?recent|search2)/)) { var td = document.getElementsByTagName('td'); for(i=0; i<td.length; i++) { if(td.item(i).width == '20%' && td.item(i).innerHTML.match(/Karma:\s(.+?)(<br>|$)/i)) { var karma = parseInt((RegExp.$1).replace(/,/g, '')); karma += default_karma; while(karma > 999) { karma = karma.toString().replace(/(\d{3})$/, ',$1'); } td.item(i).innerHTML = td.item(i).innerHTML.replace(/(Karma:\s).+?(<br>|$)/, '$1'+ karma +'$2'); } } } //--> </script>
|
|