tor-browser

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

commit f0a6bbfae19706df20268a4b206f88e7e5f69866
parent 2aa75940f5f8e8b2e2e3c90168abbe08f187ad1d
Author: Nina Pypchenko <npypchenko@mozilla.com>
Date:   Mon, 10 Nov 2025 22:26:02 +0000

Bug 1999162 - Remove "Trending Searches" component from Settings r=home-newtab-reviewers,mconley

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

Diffstat:
Mbrowser/components/preferences/home.inc.xhtml | 1-
Mbrowser/extensions/newtab/lib/AboutPreferences.sys.mjs | 22----------------------
Mbrowser/locales/en-US/browser/preferences/preferences.ftl | 4----
3 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/browser/components/preferences/home.inc.xhtml b/browser/components/preferences/home.inc.xhtml @@ -98,7 +98,6 @@ <vbox id="web-search" /> <vbox id="weather" /> - <vbox id="trending-searches" /> <vbox id="topsites" /> <vbox id="topstories" /> <vbox id="support-firefox" /> diff --git a/browser/extensions/newtab/lib/AboutPreferences.sys.mjs b/browser/extensions/newtab/lib/AboutPreferences.sys.mjs @@ -39,28 +39,6 @@ const PREFS_FOR_SETTINGS = () => [ ), }, { - id: "trending-searches", - pref: { - feed: "trendingSearch.enabled", - titleString: "home-prefs-trending-search-header", - descString: "home-prefs-trending-search-description", - }, - eventSource: "TRENDING_SEARCH", - shouldHidePref: - // Hide if Trending Search experiment is not enabled for this user - !Services.prefs.getBoolPref( - "browser.newtabpage.activity-stream.system.trendingSearch.enabled", - false - ) || - // Also hide if it's enabled but the user doesn't have Google as their default search engine - (Services.prefs.getBoolPref( - "browser.newtabpage.activity-stream.system.trendingSearch.enabled", - false - ) && - Services.prefs.getStringPref("browser.urlbar.placeholderName", "") !== - "Google"), - }, - { id: "topsites", pref: { feed: "feeds.topsites", diff --git a/browser/locales/en-US/browser/preferences/preferences.ftl b/browser/locales/en-US/browser/preferences/preferences.ftl @@ -787,10 +787,6 @@ home-prefs-weather-header = home-prefs-weather-description = Today’s forecast at a glance home-prefs-weather-learn-more-link = Learn more -home-prefs-trending-search-header = - .label = Trending searches -home-prefs-trending-search-description = Popular and frequently searched topics - # "Support" here means to help sustain or contribute to something, especially through funding or sponsorship. home-prefs-support-firefox-header = .label = Support { -brand-product-name }