Could the brilliant people at Google please just solve this already?
Ajaxian has the latest article I've come across about remote Javascript using document.write() (and a bit of a related issue when it comes to Google Analytics). They link to yet another way to get around it by hijacking the browser's document.write(), just as John Resig suggested to me the last time I complained about this. I said it before, I said it in my comment on the Ajaxian post, and I'll say it again: could the good folks at Google, and all the other sites that want us to give them traffic and/or money by placing their script tags all over our sites, maybe possibly spend some time coming up with methods that would:
- allow script tags to be placed at the end of the HTML
- allow their widgets, ads, whatever to be placed in the page via a DOM-based method, rather than document.write
1 comment
Thanks to testing over 20 variations of the javascript code.
(I'm still busy writing the code behind my site so... don't mind the crappy no content look of my site)
Feel free to look on my site what I've already got of code on ga.js