https-everywhere icon indicating copy to clipboard operation
https-everywhere copied to clipboard

Make it easier to add rulesets

Open blaise-io opened this issue 12 years ago • 3 comments

Currently, adding a new ruleset is very user-unfriendly. It requires knowledge of

  1. Where to find the directory where to create a ruleset file
  2. XML for creating the ruleset
  3. Regular expressions to write the redirect
  4. CLI for validating the ruleset

Can we remove some of these?

I think in a lot of cases, you just want to replace http:// with https://, or http://www.example.org with https://secure.example.org, and not do anything with the path. A simple form with a from and to input field would suffice for these cases. Maybe a checkbox or input field for the securecookie directive. This form would not allow all possible configurations, but it would work for a lot of cases.

Alternative: Provide a simple editor window for a ruleset, with validation built-in, possibly with an example default where even a non-technical person could understand how to replace values, and a technical person could configure everything.

blaise-io avatar Aug 26 '14 08:08 blaise-io

Agreed, I'd definitely love to make it easier for users to add rulesets. @vijayp actually implemented this in the Chrome port, and it would be great to have the same thing on Firefox. Firefox already supports a directory with user-defined rules that gets retained across upgrades, so you could automate writing to that.

It would also be valuable, I think, to make it easy for users to submit trivial rulesets they create. However, I think we need to make our automated testing more robust before we work on increasing the volume of input rulesets.

jsha avatar Aug 26 '14 16:08 jsha

if it is only about simple rewrites, maybe we should detect tls support on non tls requests ourselves and if it works suggest a rule, like httpsfinder did. This should include sub domains and requests to third party websites that we have no rules for yet.

numismatika avatar Aug 29 '14 05:08 numismatika

Coming back to this: Unfortunately, I'm finding out that the majority of maintenance time for HTTPS Everywhere is spent on fixing rulesets that are broken in subtle ways, or become broken based on website changes. At 10k+ rulesets, it's already a high burden, and lowering the barriers to adding rules will just increase the maintenance load and overall brokenness levels. So I'm going to close this for now. We can revisit once we've got better automated testing in place.

jsha avatar Dec 01 '14 22:12 jsha