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

HTTPS-E should defer all network activity at the start until it loads up

Open Giltyhub opened this issue 6 years ago • 4 comments

Type: code issue

when first starting firefox nightly+https-e on a vm with low amount of ram+cpu resources and then loading up a website that has an https everywhere ruleset and that i expected to immediately go to https but was instead loading up over http

noscript webextension does something like that if i remember

Giltyhub avatar Apr 12 '19 14:04 Giltyhub

That's unlikely to be possible because of how WebExtensions is working. Same issue exists with uB0 and PB.

pipboy96 avatar Apr 12 '19 16:04 pipboy96

Easiest way to reproduce: close all browser windows, make sure the browser is no longer running and run this: firefox -- http://s3.amazonaws.com/abcd/efgh. This request should be rewritten by default rulesets, but it is not rewritten.

pipboy96 avatar Apr 12 '19 16:04 pipboy96

There are two separate issues here:

  1. URLs that load before the extension itself loads
  2. URLs that are loaded after the extension loads, but before the rulesets are loaded

It is only possible to fix (2) in WebExtensions.

Hainish avatar Apr 15 '19 16:04 Hainish

~~I'll try making a PR.~~ ~~Currently working.~~ #17746

pipboy96 avatar Apr 15 '19 23:04 pipboy96