<div dir="ltr">Thanks, Peter. My point however is to create gradations of privacy, with different levels for different websites. On some, privacy badger would run as is, while on others, there would be a modified version that  blocks all third party content. This would be determined partly by the user and partly by a server-side mechanism for figuring out which websites are "sensitive."<div>

<br></div><div>So what is needed is to selectively set all user red settings on some websites, while restoring PB default controls for others, with a control interface that determines the level of privacy.</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 8:03 PM, Peter Eckersley <span dir="ltr"><<a href="mailto:pde@eff.org" target="_blank">pde@eff.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

One meta point: if your objective is blocking or controlling all third<br>
party content without depending on Privacy Badger's heuristic<br>
algorithms, you might have a better time starting with HTTP Switchboard<br>
(for Chrome) or RequestPolicy (for Firefox), since those extensions<br>
implement something closer to "everything red" by default.<br>
<div><div class="h5"><br>
On Wed, Jul 02, 2014 at 06:42:11PM +0200, Olga Musayev wrote:<br>
> I'm modifying Privacy Badger for a different project, and one of the<br>
> features I need is an option for the user to set all domains to red with<br>
> one click. I'm going through the code, but I'm having a hard time following<br>
> where exactly the full blocking action is taking place (popup.js 348:360<br>
> has special case for cookieblock and noaction, but not for block).<br>
><br>
> Any hint for what functions I need to use? Where does the userred<br>
> subscription get executed?<br>
<br>
</div></div>> _______________________________________________<br>
> PrivacyBadger mailing list<br>
> <a href="mailto:PrivacyBadger@eff.org">PrivacyBadger@eff.org</a><br>
> <a href="https://lists.eff.org/mailman/listinfo/privacybadger" target="_blank">https://lists.eff.org/mailman/listinfo/privacybadger</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Peter Eckersley                            <a href="mailto:pde@eff.org">pde@eff.org</a><br>
Technology Projects Director      Tel  <a href="tel:%2B1%20415%20436%209333%20x131" value="+14154369333">+1 415 436 9333 x131</a><br>
Electronic Frontier Foundation    Fax  <a href="tel:%2B1%20415%20436%209993" value="+14154369993">+1 415 436 9993</a><br>
</font></span></blockquote></div><br></div>