Search the Community
Showing results for tags 'code'.
-
Alright, this was discussed in another thread but as Mike suggested here's an own thread for this problem and a solution for people to find. You may be sending some bit of code everytime you reply to a mail even though you might not be aware of it until someone asks/complains about it. You'll be able to see it in the outbox, outputted at the beginning of the mail before your message. Basically, it looks like this: (function main() { if(!document.URL.match('www.mmatycoon.com/skillmaintenance.php')){ $('td[background*=\'images/bar\']') .each( function () { var hypeValue = jQuery(this).attr("width").replace("%", ""); hypeValue = (hypeValue * 10).toFixed(0); if(hypeValue < 280){ if(jQuery(this).next().html().search(/%.+/) == -1){ jQuery(this).next().append(" " + hypeValue); } } else { if(jQuery(this).html().search(/%.+/) == -1){ jQuery(this).append(hypeValue); } } } ); jQuery("td[background*=images/img_redbar]") .each( function () { var hypeValue = jQuery(this).attr("width").replace("%", ""); hypeValue = (hypeValue * 10).toFixed(0); if(hypeValue < 280){ if(jQuery(this).next().html().search(/%.+/) == -1){ jQuery(this).next().append(" " + hypeValue); } } else { if(jQuery(this).html().search(/%.+/) == -1){ jQuery(this).append(hypeValue); } } } ); $('table[background*=\'images/bar\']') .each( function () { var hypeValue = jQuery(this).attr("width").replace("%", ""); hypeValue = (hypeValue * 10).toFixed(0); jQuery(this).children().children().children().html(" " + hypeValue + ""); } ); } })(); It's because you're most likely using the MMATycoon Hype & Pop Displayer 0.0.1 script with Greasemonkey. Here's a copy paste of the solution: