[HTTPS-Everywhere] Ruleset Changes Without Restart
Yan Zhu
yan at eff.org
Tue Jan 28 16:55:12 PST 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Not sure if I understand the question in this thread, but the rulesets
get reloaded when with a call to HTTPSRules.init(). We call this in a
couple places:
1. at startup
2. when the extensions.https_everywhere.enable_mixed_rulesets pref is
toggled
3. when security.mixed_content.block_active_content is toggled
So if you want to force-reload the rulesets in Firefox without
restarting, go to about:config and toggle one of those preferences twice.
- -Yan
On 01/28/2014 02:29 PM, Claudio Moretti wrote:
> On Tue, Jan 28, 2014 at 10:37 AM, Drake, Brian
> <brian at drakefamily.tk <mailto:brian at drakefamily.tk>> wrote:
>
> I?m only using stable versions for now (but when I?m working on
> rules, I do check the Atlas and/or Git for the latest rules).
>
> I?m not sure whether I we?re talking about the same thing here. I
> can enable or disable rulesets on the fly just fine, but changing
> the rulesets themselves (that is, changing the XML files in the
> HTTPSEverywhereUserRules folder, or deleting or adding such files)
> requires a restart.
>
>
> Oh, sorry: I misunderstood. I believe the problem may lie in the
> fact that rules are loaded when the extension starts (?) so it's
> necessary to restart Firefox before the new/edited rules are
> recognized.
>
> There is no obvious way around that; it may be possible to relaunch
> the extension loading procedure, but I have no idea if and how it
> can be done.
>
> I believe there is a reason why it's not possible to load rules on
> the fly (which is what's causing your issue) but I'm not sure;
> maybe Peter or Yan?
>
> P.S. I took a look at components/HTTPSEverywhere.js, it seems just
> a matter of having a trigger or (maybe better) a button that calls
> HTTPSRules.init()
>
>
> _______________________________________________ HTTPS-Everywhere
> mailing list HTTPS-Everywhere at lists.eff.org
> https://lists.eff.org/mailman/listinfo/https-everywhere
>
- --
Yan Zhu yan at eff.org
Technologist Tel +1 415 436 9333 x134
Electronic Frontier Foundation Fax +1 415 436 9993
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJS6FFtAAoJENC7YDZD/dns+zsH+wUSnvdbx7EtqljSLR+sGHpI
osB+0/xOVAC2uVimWIfVegKfy7/71ZlGPLKuQLll/eJ/kaJ/6bA57QDNrDC1/f0q
Qa9obMsMkLyXIS42Gl3S/SucEZriuEbzb5E2wtUpna8r8H8arToj37YFKCUE/pFo
ov7VqYV7d7HBz7M0P2BOoAz2Anbo0qvHCsQHk/8wbW0ypfTzHwvKUPeHdX4DF2gs
pz2foT1KvtlO92cXvj4TxLn9iJCbQTx392w/vno0gKyC2es9NYGLmwV4sn78eT9v
+kd/CFFlWC4bB+p+JkygQpV6z2URggSY/1/XeLVdhyuugzlXm3jowz2sdg0dDjY=
=KYNX
-----END PGP SIGNATURE-----
More information about the HTTPS-Everywhere
mailing list