From 031644c1b03a0cbd1fcabdeb613af23b631702e1 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Mon, 27 Oct 2025 11:45:02 +0100 Subject: [PATCH] feat: Hide PiP urlbar button via a pref instead of overriding styles, b=no-bug, c=common --- prefs/firefox/urlbar.yaml | 3 +++ src/zen/common/styles/zen-omnibox.css | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/prefs/firefox/urlbar.yaml b/prefs/firefox/urlbar.yaml index e47a3274b..cdb951402 100644 --- a/prefs/firefox/urlbar.yaml +++ b/prefs/firefox/urlbar.yaml @@ -22,6 +22,9 @@ - name: browser.urlbar.untrimOnUserInteraction.featureGate value: true +- name: media.videocontrols.picture-in-picture.urlbar-button.enabled + value: false + # Enable private suggestions - name: browser.search.suggest.enabled value: false diff --git a/src/zen/common/styles/zen-omnibox.css b/src/zen/common/styles/zen-omnibox.css index c9ab0ce07..e85ac7d25 100644 --- a/src/zen/common/styles/zen-omnibox.css +++ b/src/zen/common/styles/zen-omnibox.css @@ -740,7 +740,6 @@ #reader-mode-button, #urlbar-go-button, #star-button-box, -#picture-in-picture-button, #pageActionButton:not([open]) { display: none !important; }