Google Maps causes Internet Explorer to crash
I was working on a site the other day, and I came across the error on a page that I've never seen before. The page had an embedded Google Map, and there was a JavaScript function to display the map. The page worked in FireFox, but when I ran it in IE, I got the following JavaScript error:
Internet Explorer could not open the internet site.
Operation aborted.
And not one bit of the page would display.
I dug around online, but couldn't find anything. On a complete whim, I decided to try to move the showMap() function into the window.onload() handler. And crazily enough, it worked! So the whole error was caused by the showMap() being run before the page had fully loaded. Insane…

on December 22nd, 2006 at 8:55 pm
A great pick up Justin. So good I made a Digg about it and it points to here!
Col
on January 11th, 2007 at 6:37 am
Cheers for the tip, saved me a headache or two.
on February 6th, 2007 at 9:00 am
Another sort of "on a whim" solution found here:
http://vidmar.net/weblog/archive/2005/08/22/2121.aspx