Re:Why does Google append while(1); in front of their JSON r...
by mmahemoff on Tuesday February 05, 2013 @09:52AM
(#5170865)
The actual reason for this is web advertising took off like wildfire, using 3rd party scripts. It was too late to reverse by the time people got concerned about the security model.
Content Security Policy makes all this much more robust in modern browsers.
Content Security Policy makes all this much more robust in modern browsers.