<div dir="ltr">Hi everyone,<div><br></div><div>I'm a huge fan of the EFF and  HTTPS Everywhere extension! </div><div><br></div><div>The one feature I felt it really needed was the ability for users to add arbitrary rules, and to have those rules persistent across restarts, and the ability for the users to submit rules to the EFF so that the extension can be updated more frequently.</div>

<div><br></div><div>I've put together a change that is a partial implementation of this feature, you can build it by checking out my branch below. I'd love comments and/or suggestions before I go too far down the path of implementation. Stuff in "what's missing" still has to be implemented, but it should be functional as is.</div>

<div><br></div><div>What it does:</div><div>- enables the httpseverywhere action icon thing on _all_ https pages</div><div>- when on an https page, allows you to create a rule for that host. It pre-fills the matching regex and redirect-to fields with sane defaults.</div>

<div><br></div><div><br></div><div>What's missing:</div><div>- cookie rules, and exceptions are unimplemented</div><div>- you can't edit or delete rules (but disabling them works).</div><div>- there is no way to upload these rules (not sure how you guys want to handle that; I'd probably use a GAE endpoint, but you guys might have thoughts about this)</div>

<div><br></div><div>Future work?</div><div>- my changelist uses java objects to send and persist rules on the extension. Perhaps we should change the XML structure to using JSON and match the object format used by user rules at some point? Jacob Hoffman-Andrews (we used to work together at Google a long time ago) mentioned that there was discussion on this list about this topic before I joined, and I'd be happy to help with that if people would find it useful.</div>

<div><br></div><div><br></div><div><a href="https://github.com/vijayp/https-everywhere/compare/vijayp.add-persistent-user-rules" target="_blank" style="font-family:arial,sans-serif;font-size:13px">https://github.com/vijayp/https-everywhere/compare/vijayp.add-persistent-user-rules</a><div class="" style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">

</div></div><div>--</div><div>Vijay Pandurangan</div><div><a href="mailto:vijayp@vijayp.ca">vijayp@vijayp.ca</a></div><div>twitter:@vijayp</div><div><a href="http://www.vijayp.ca">www.vijayp.ca</a></div><div><a href="http://www.mitro.co">www.mitro.co</a></div>

</div>