You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Firefox - turning on Block all HTTP request in incognito mode. #2629
Hi! I am running Firefox 40.0 on Ubuntu 14.04 x64.
When I turn on "Block all HTTP requests" in the private window (aka incognito mode) it will enable it in the normal browsing mode, but will not turn the icon red or place a tick mark in the HTTPS-everywhere menu. Hence not showing that Block all HTTP mode is enabled.
It can be reversed by enabling the "Block all HTTP requests" in normal browsing mode or turning on the private browsing window and reversing the setting.
This is very confusing when all http sites refuse to open. Specially since there is no notification that the sites are being blocked by an add-on (like in chrome).
Also, there is the same issue with Show Counter feature.
This is not an answer but rather an initial observation: In the current master, the toolbar button and its label is identified and manipulated through the use of document.getElementById. In the case where one has only two open windows, the toolbar button in the 'other' window can be accessed through window.opener.document.getElementById. That is, one can use that to manipulate both buttons at once. To see how it works, try having the counter label active on both buttons and use the following to manipulate the two labels:
Activity
fuglede commentedon Aug 21, 2015
This is not an answer but rather an initial observation: In the current master, the toolbar button and its label is identified and manipulated through the use of
document.getElementById. In the case where one has only two open windows, the toolbar button in the 'other' window can be accessed throughwindow.opener.document.getElementById. That is, one can use that to manipulate both buttons at once. To see how it works, try having the counter label active on both buttons and use the following to manipulate the two labels:Using this trick for detection is clearly a terrible hack though, and it does not appear to extend to the case where there are strictly more than two windows open. This is similar to, but disjoint from, the problems that https://github.com/fuglede/https-everywhere/commit/4d1da58f8163246a5a79220411b2972b1f5d6522 fixed for #2009.
It would be better to somehow call the UI update methods for all windows at once on change.
gloomy-ghost commentedon Sep 1, 2017
Verified as fixed in the WebExtension version.