From 511f62ac7be780c200556dc35188f32c6d0d83ca Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 5 Dec 2021 05:17:10 +0100 Subject: [PATCH] userChrome/urlbar: hide amazon icon (MR 19) --- src/userChrome/urlbar.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/userChrome/urlbar.css b/src/userChrome/urlbar.css index 16daad9..d526eba 100644 --- a/src/userChrome/urlbar.css +++ b/src/userChrome/urlbar.css @@ -78,3 +78,11 @@ display: none; } } + +/* Even though amazon is removed as search engine in policies.json, it gets + * installed when FF starts for the first time. Hide the button in "This time, + * search with" inside the urlbar. Match localizations like Amazon.de with this + * regex. */ +button[id^='urlbar-engine-one-off-item-Amazon'] { + display: none !important; +}