UPDATE 2016-11-16 9:53am EST
It appears many people are still seeing 204 responses even though Google has claimed to have \"fixed\" the problem. Wh
Thought I'd share this solution here also, as the answers above won't work efficiently for a large document: The load event will not fire for a few seconds after the iFrame has started loading, so you might end up with an endless loop. A better solution is to also check for the size of the body of the iFrame.