February 18, 200719 yr This won't affect the majority of users who run with the script debugging features switched off, but for the minority who do there is a script on every forum page that causes an exception. You may want to change it so it builds up the entire string and then writes it to the document in a single document.write rather than writing it piece by piece in multiple steps. This is the one I am talking about: <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://media.thaivisa.com/adjs.php?n=" + phpAds_random); document.write ("&what=zone:1&block=1"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script>
February 18, 200719 yr It annoys me on my work PC. How do I turn the (de)bugger off? Everypage gets held up until I click yes or no.
February 19, 200719 yr Author It annoys me on my work PC.How do I turn the (de)bugger off? Everypage gets held up until I click yes or no. internet options / advanced / browsing / disable script debugging
Create an account or sign in to comment