[webkit-help] A few questions about Content Blocking Extensions in Safari 9

Brent Montrose brent.montrose at gmail.com
Tue Jun 16 10:03:14 PDT 2015


I've been reading the article on new content blocking mechanism,
introduced with Safari 9
(https://www.webkit.org/blog/3476/content-blockers-first-look/), and
the emails regarding the subject. The article and email response was
helpful, but I have a few additional questions.

1.  Does an extension need to set the rules each time the browser /
extension starts up?  Or, will Safari 9 cache the rules between
restarts?

2.  Is there a easy way to pause content blocking & hiding for a short
period time? Or rather, what is the recommended approach to pause
content blocking?   For example, a user navigates to a web site and
wishes to view all of the content on that page without white-listing
the specific site.  If I understand correctly, to pause content
blocking, the extension would currently need to set / submit an empty
JavaScript object to effectively clear the current rules.  Then,
later, when the user wishes to enable content blocking again
(un-pause), the extension would need to set all of previous rules
(which could be expensive).

-- Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20150616/b7d928f7/attachment.html>


More information about the webkit-help mailing list