richard pushed to branch base-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
225930cb
by cypherpunks1 at 2023-08-21T18:55:53+00:00
2 changed files:
Changes:
... | ... | @@ -53,8 +53,7 @@ |
53 | 53 | class="subviewbutton"
|
54 | 54 | data-l10n-id="appmenuitem-new-private-window"
|
55 | 55 | key="key_privatebrowsing"
|
56 | - command="Tools:PrivateBrowsing"
|
|
57 | - hidden="true"/>
|
|
56 | + command="Tools:PrivateBrowsing"/>
|
|
58 | 57 | <toolbarseparator/>
|
59 | 58 | <toolbarbutton id="appMenu-new-identity"
|
60 | 59 | class="subviewbutton"
|
... | ... | @@ -1762,7 +1762,7 @@ var gBrowserInit = { |
1762 | 1762 | this._boundDelayedStartup = this._delayedStartup.bind(this);
|
1763 | 1763 | window.addEventListener("MozAfterPaint", this._boundDelayedStartup);
|
1764 | 1764 | |
1765 | - if (!PrivateBrowsingUtils.enabled) {
|
|
1765 | + if (PrivateBrowsingUtils.permanentPrivateBrowsing || !PrivateBrowsingUtils.enabled) {
|
|
1766 | 1766 | document.getElementById("Tools:PrivateBrowsing").hidden = true;
|
1767 | 1767 | // Setting disabled doesn't disable the shortcut, so we just remove
|
1768 | 1768 | // the keybinding.
|