[webkit-dev] content policies

Brady Eidson beidson at apple.com
Mon Jul 6 17:01:57 PDT 2009

The WebKit API already leaves policy decisions up to it's client.

Check out WebPolicyDelegate which allows the client to make decisions  
for individual resource requests based on the contents of the request,  
and WebResourceLoadDelegates for the client to make decisions based on  
the MIME type and other contents of the response.

I wonder if these are good enough for you to implement your feature in  
your browser?


On Jul 3, 2009, at 3:58 PM, Roger Pack wrote:

> Sorry to just join and post in...just wondering if any consideration
> had been given to something akin to Gecko's "content policies" for
> filtering content.  This would allow things like adblock plus to work
> more easily with webkit based browsers [1].
> Or is this something like "create a patch and send it in if you want  
> it."?
> Thanks much.
> =r
> [1] http://adblockplus.org/en/faq_internal
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list