Rob--W / https-by-default

Use HTTPS by default for navigations from the location bar in Chrome / Firefox.
MIT License
63 stars 12 forks source link

Add wildcards to whitelist #25

Open 35609902357 opened 4 years ago

35609902357 commented 4 years ago

For example, almost every .onion domain uses http, so adding *.onion to whitelist them all would be very useful.

Rob--W commented 4 years ago

You can already do that by specifying the onion "domain" at the preferences. Doing so will prevent any .onion domain from being redirected to https.

sergeevabc commented 4 years ago

@Rob--W, am glad to find the solution for Tor-based resources right here in this issue, but think of others, who are not so equipped to get here for answer, that why *.onion was asked for in the first place, because wildcards are more or less known concept.

elvey commented 4 years ago

FYI, I noticed this (new, not yet landed) patch provides this functionality to mozilla's firefox: https://hg.mozilla.org/integration/autoland/rev/7b5f7ee72a6c 😃 Onion-host exception can get disabled with a pref too. HTH.

mathieujobin commented 4 years ago

Thank you for this, but I still can not find the option. where can I add those domains?

this is also useful for detectportal.firefox.com which prevents getting the TLS certificate warning when connecting to free wifi. thanks

Rob--W commented 4 years ago

Thank you for this, but I still can not find the option. where can I add those domains?

  1. Visit about:addons
  2. Scroll down to the extension.
  3. Click on the triple-dot button in the upper-right corner of the add-on card and choose Preferences. Alternatively: Click on the add-on card (which expands the details) and click on the Preferences tab.
  4. An input field becomes visible where you can enter the domains.