Archive for April, 2008

Remote Javascript with document.write() is killing me

I have been coming across way too much remote Javascript that uses document.write() to insert its contents. From ad providers to video hosting services, it’s common practice to provide a Javascript tag like:
 
<script src="http://some-remote-server.com/some-tiny-file.js" type="text/javscript"></script>
 
and tell the site owner to just include it in their page where the ad or content should appear.
This is [...]

Fix for slow-loading Google ads

Google’s AdSense ads, and lots of others, are added to pages using Javascript, and if that Javascript appears early in the page’s HTML, it can seriously slow down the rendering of the rest of the page. That’s because browsers generally refuse to do any further rendering of the page until they have a requested Javascript [...]

Triangle Javascript Users Group

My friend Matt Henry and I are going to try to get a Javascript users group started in Durham so we can meet other users (and probably do a bit of jQuery evangelizing). If you’re interested, visit the Triangle Javascript Users Group page, and join us at the Federal in downtown Durham on May 6.