henry pushed to branch mullvad-browser-140.4.0esr-15.0-1 at The Tor Project / 
Applications / Mullvad Browser


Commits:
3d411c42 by henry at 2025-10-21T15:55:32+01:00
BB 44279: Disable contextual search install prompt.


(cherry picked from commit 5b9d6ce72ac5e4a3a296d6084a9bce7cf4a1ccd6)

Co-authored-by: Henry Wilkes <[email protected]>
- - - - -


1 changed file:

- browser/components/urlbar/ActionsProviderContextualSearch.sys.mjs


Changes:

=====================================
browser/components/urlbar/ActionsProviderContextualSearch.sys.mjs
=====================================
@@ -9,6 +9,8 @@ import {
   ActionsResult,
 } from "resource:///modules/ActionsProvider.sys.mjs";
 
+import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs";
+
 const lazy = {};
 
 ChromeUtils.defineESModuleGetters(lazy, {
@@ -312,6 +314,11 @@ class ProviderContextualSearch extends ActionsProvider {
     );
 
     if (
+      // Do not show the install prompt in non-private windows to have
+      // consistent behaviour with private windows and avoid linkability
+      // concerns. tor-browser#44134.
+      // Maybe re-enable as part of tor-browser#44117.
+      !AppConstants.BASE_BROWSER_VERSION &&
       !queryContext.isPrivate &&
       type != INSTALLED_ENGINE &&
       (await Services.search.shouldShowInstallPrompt(engine))



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/3d411c42ce1beca38d13c98178734c2e85fb4785

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/3d411c42ce1beca38d13c98178734c2e85fb4785
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to