Hi,

Here is a list of useful resources I've found on async document.write:
http://www.delicious.com/gregersrygg/document.write

Haven't found a solution that fits my needs, so have started on my own
implementation. The main difference from other doc.write hacks is that
it can start loading the ads in the background before
DOMContentLoaded, and has an option to load the ads sequentially. It's
far from production ready, as there are so many unthinkable things a
third-party script can do. But feel free to test if it works for you:
https://github.com/gregersrygg/crapLoader

What I find most difficult is not to solve specific problems, but to
find them. There are so many weird things third-party or ad scripts
can do. It would be really helpful if those who attempted to make
document.write hacks documented their attempts. I guess we all have
different needs, problems and solutions. Started on a wiki-page with
problems/solutions I've found so far. Contributions are welcome:

https://github.com/gregersrygg/crapLoader/wiki/What-to-think-about-when-replacing-document.write

Kyle: Can you please describe the iframe problem you are describing in
more detail? When does it become a problem? Friendly iframes?
Cross-origin iframes don't have access to the document, so that should
work as a black box, or not?

Mads: have you heard about the front-end (mostly js) user group in Oslo?
http://www.meetup.com/framsia/

Regards,
Gregers

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to