[webkit-help] Removing / Pausing content blocking in Safari

Brent Montrose brent.montrose at gmail.com
Fri Aug 21 10:28:18 PDT 2015


Alex, Benjamin, or Brian -

I was wondering what is the best way to remove any previously submitted
content blocking rules?

This question applies only to Safari 9 on OS X.

More specifically, I thinking that content blocking will be a user enabled
option in our extension.  When users disable the Safari 9 content blocking
option, I thought I could delete or remove the previous submitted /
compiled rules by calling *safari.extension.setContentBlocking() *with no
arguments.  This doesn't seem to work. I also tried
*safari.extension.setContentBlocking({})
*and *safari.extension.setContentBlocking([])*

Is there a way to delete / remove previous compiled rules by calling
*safari.extension.setContentBlocking()* ?

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


More information about the webkit-help mailing list