tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 0fb9775c851781926ccb039a06ec513d5fe152bd
parent 8ac7e8c9adda3ba355577891dfe443d22883a949
Author: Mike Conley <mconley@mozilla.com>
Date:   Thu, 20 Nov 2025 20:40:10 +0000

Bug 2000924 - Adjust YouTube site-specific PiP toggle opacity threshold to make the gear menu easier to use. r=kpatenio

Differential Revision: https://phabricator.services.mozilla.com/D273078

Diffstat:
Mbrowser/extensions/pictureinpicture/data/picture_in_picture_overrides.js | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/browser/extensions/pictureinpicture/data/picture_in_picture_overrides.js b/browser/extensions/pictureinpicture/data/picture_in_picture_overrides.js @@ -497,12 +497,13 @@ let AVAILABLE_PIP_OVERRIDES; youtube: { /** - * The threshold of 0.7 is so that users can click on the "Skip Ads" + * The threshold of 0.6 is so that users can click on the "Skip Ads" * button on the YouTube site player without accidentally triggering - * PiP. + * PiP, and so that the video player's semi-transparent gear menu can be + * used without accidentally triggering PiP. */ "https://*.youtube.com/*": { - visibilityThreshold: 0.7, + visibilityThreshold: 0.6, videoWrapperScriptPath: "video-wrappers/youtube.js", }, "https://*.youtube-nocookie.com/*": {