[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-153.1.0esr-16.0-1] fixup! BB 44711: Hide unwanted setting controls in Base Browser.



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • 61089e28
    by Henry Wilkes at 2026-08-17T09:36:39+02:00
    fixup! BB 44711: Hide unwanted setting controls in Base Browser.
    
    BB 44831: Hide the search suggestions private browsing banner.
    

1 changed file:

Changes:

  • browser/components/preferences/config/search.mjs
    ... ... @@ -12,6 +12,7 @@ const { XPCOMUtils } = ChromeUtils.importESModule(
    12 12
     const lazy = XPCOMUtils.declareLazy({
    
    13 13
       AddonSearchEngine:
    
    14 14
         "moz-src:///toolkit/components/search/AddonSearchEngine.sys.mjs",
    
    15
    +  AppConstants: "resource://gre/modules/AppConstants.sys.mjs",
    
    15 16
       ConfigSearchEngine:
    
    16 17
         "moz-src:///toolkit/components/search/ConfigSearchEngine.sys.mjs",
    
    17 18
       CustomizableUI:
    
    ... ... @@ -428,6 +429,11 @@ Preferences.addSetting({
    428 429
       id: "urlBarSuggestionPermanentPBMessage",
    
    429 430
       deps: ["urlBarSuggestionCheckbox", "permanentPBEnabledPref"],
    
    430 431
       visible: deps => {
    
    432
    +    // Hide since the wording is misleading about the default history settings.
    
    433
    +    // tor-browser#44831.
    
    434
    +    if (lazy.AppConstants.BASE_BROWSER_VERSION) {
    
    435
    +      return false;
    
    436
    +    }
    
    431 437
         return (
    
    432 438
           deps.urlBarSuggestionCheckbox.visible && deps.permanentPBEnabledPref.value
    
    433 439
         );
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx