Monthly Archives: September 2010

howto fix m$ ie javascript timeouts

M$ IE may time out when running javascript and display the error:

“A script on this page is causing Internet Explorer to run slowly”

You may be able to fix this by:

  • running regedit
  • adding a key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles
  • adding a keyvalue MaxScriptStatements DWORD with a value 50,000,000

M$ IE (6,7,8) should now wait 10 x longer than the default timeout of 5,000,000 script lines !

See also

M$ IE cookie blocking

If the M$ IE (IE6, IE7, IE8) web browser cant find a P3P cookie ‘privacy policy’ for  your website it might ‘block’ your cookies unless the user has chosen the ‘Always allow this site to use cookies’ option.

See also:

new goog analytics js

google have released a new asynchronous analytics js snippet



<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-Y']);
_gaq.push(['_setDomainName', '']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src =
('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);

Now goog own your apache logs !

Due to the googles  Google Wireless Transcoder ‘bot’ its now even more important to enable and check the X-Forwarded-For records in your apache access logs ! There will now be an even bigger mismatch between you apache httpd access logs, awstats or webalizer visitor reports and your google analytics visitor reports !

Look in your apache httpd access logs and you may see you are now getting a lot of new visitors from Mountain View, CA, USA with the IP range –

Look closely at the user agent and you may find these are in fact from the Google Wireless Transcoder ‘bot’

‘AppleWebKit/525.13 (KHTML, like Gecko; Google Wireless Transcoder)’

which is actually a proxy server that is reformatting your pages for mobile devices so your actual visitors could be coming from any mobile user using the google mobile symbian app from anywhere in the world !

So make you are use X-Forwarded-For in your appache httpd logformat instead of the host ip as appropriate to determine where your vistors are actually coming from !

See for more info but watch out as the X-Forwarded-For may not be a single IP but actually be a list of IPs and I have noticed that in my case GWT has listed my UK mobiles IP address twice separated by a comma ! ie 217.171.128.x,217.171.128.x

windoz lamp webdev quick start

APACHE & MYSQL & PHP environment

SAMSUNG GT-I5700 re-boot factory reset

My SAMSUNG Galaxy Portal GT-I5700 has just completely hung because i loaded too many programs and ran out of internal memory !

But thanks to the web i’ve found out how to  reboot / factory reset:


  • wait for power on
  • let go of press CALL BEGIN+ CALL END
  • wait for strange ! ICON !
  • press ^MENU^ button

See also