[whatwg] should we add beforeload/afterload events to the web platform?
Adam Barth
w3c at adambarth.com
Tue Jan 10 11:49:03 PST 2012
On Mon, Jan 9, 2012 at 10:02 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 1/10/12 12:48 AM, Tantek Çelik wrote:
>> Should 'beforeload'/'afterload' be explicitly specified and added to
>> the web platform?
>
> Outside of extensions, what are the use cases? Can they usefully labor
> under restrictions like knowing the URI to be loaded but not the context
> it's being loaded in? AdBlock apparently can in at least some cases, yes?
Some web sites use beforeload to monitor for mixed content
vulnerabilities. In some cases, they block the load, and in other
cases they allow it (e.g., because they're working to clean up their
mixed content bugs).
Adam
More information about the whatwg
mailing list