Verified Commit 5f609d18 authored by Richard Pospesel's avatar Richard Pospesel Committed by Pier Angelo Vendrame
Browse files

Bug 41822: Unconditionally disable default browser UX in about:preferences

parent 805b90b7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1737,7 +1737,8 @@ var gMainPane = {
      let defaultBrowserBox = document.getElementById("defaultBrowserBox");
      let isInFlatpak = gGIOService?.isRunningUnderFlatpak;
      // Flatpak does not support setting nor detection of default browser
      if (!shellSvc || isInFlatpak) {
      // tor-browser#41822 disable making Tor Browser the default browser
      if (shellSvc || isInFlatpak || true) {
        defaultBrowserBox.hidden = true;
        return;
      }