mjb

HTTPS Everywhere custom ruleset installation

mjb
May 29th, 2013
1,747
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. https://www.eff.org/https-everywhere/rulesets says how to create custom ruleset XML files for HTTPS Everywhere, and it gives vague instructions for installing them in Firefox, but it doesn't provide any info for installing them in Chrome. Here is my attempt at some better instructions for both browsers. It is current as of 2013-05-29.
  2.  
  3. Firefox users:
  4.  
  5. · Visit about:support and click "Profile Directory" to get the path of the profile folder.
  6. · In your OS, go to that folder.
  7. · Put the XML file(s) in an HTTPSEverywhereUserRules subfolder (create it if necessary).
  8. · Restart Firefox.
  9.  
  10. Chrome users:
  11.  
  12. · In your OS, go to the folder where the HTTPS Everywhere extension was installed. On Windows, that's
  13. %USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Extensions\gcbommkclmclpchllfjekcdonpmejbdp\VERSION
  14. (replace VERSION, of course).
  15. · Put the XML file(s) in the rules subfolder.
  16. · Edit rules.js and add the new file(s) to the list, like this (THEFILE.xml is the new ruleset):
  17. var rule_list = ["rules/default.rulesets","rules/THEFILE.xml",];
  18. · Restart Chrome.
RAW Paste Data