morgan pushed to branch tor-browser-128.7.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
983bf5de
by Henry Wilkes at 2025-02-10T14:38:02+00:00
1 changed file:
Changes:
| ... | ... | @@ -5,3 +5,18 @@ |
| 5 | 5 | -moz-context-properties: fill;
|
| 6 | 6 | fill: currentColor;
|
| 7 | 7 | }
|
| 8 | + |
|
| 9 | +#tor-connect-urlbar-button:not([hidden]) ~ #onion-location-box {
|
|
| 10 | + /* Hide this button whilst the "Connect" button is shown. tor-browser#43406.
|
|
| 11 | + * This should only make a difference when the tor process dies mid-session.
|
|
| 12 | + * NOTE: We do not attempt to re-assign focus since the user should already
|
|
| 13 | + * have had their attention disrupted when the tor process dies mid-session.
|
|
| 14 | + * NOTE: If we hide this whilst the onion location popup is shown, the popup
|
|
| 15 | + * will instead become anchored to the site identity (padlock) button instead,
|
|
| 16 | + * but will return to the #onion-location-box once the "Connect" button is
|
|
| 17 | + * hidden again. In principle we could explicitly call
|
|
| 18 | + * PopupNotifications.anchorVisibilityChange() but mozilla code already has
|
|
| 19 | + * plenty of entry points to update the anchor position for us.
|
|
| 20 | + * Moreover, this scenario is expected to be a very rare. */
|
|
| 21 | + display: none;
|
|
| 22 | +} |