Here's the deal. I tried several methods for lazy loading the JavaScript Maps API of the Google Maps, and every time this is done, with any Lazy Loader that I use, FireFox blocks. These lazy downloads are simple in Chrome.
What I mean by “blocks” is that the elements in the HTML are not displayed, but instead the browsers are trying to create a connection to load Maps JavaScript.
The code follows. Place it in an HTML file and open it in your browser:
<html>
<head>
<script type="text/javascript" src="http://github.com/rgrove/lazyload/raw/master/lazyload.js"></script>
</head>
<body>
Open your console. Wait for "entering debugger..." message.<br />
You can't see me in FireFox, can you?
<script type="text/javascript">
LazyLoad.js("http://maps.google.com/maps/api/js?sensor=false", function() {
console.log("entering debugger...");
});
</script>
</body>
</html>
In Chrome, I see the contents of "Open Console ..." on the page, and JavaScript is requested and loaded, asynchronously, in the background.
FireFox " ..." , ( "" DNS- Google), .