diff --git a/assets/patches.txt b/assets/patches.txt index 0c7d381..b8b86b1 100644 --- a/assets/patches.txt +++ b/assets/patches.txt @@ -12,6 +12,7 @@ patches/sed-patches/allow-searchengines-non-esr.patch patches/sed-patches/disable-pocket.patch patches/sed-patches/remove-internal-plugin-certs.patch patches/sed-patches/stop-undesired-requests.patch +patches/ui-patches/firefox-view-no-default.patch patches/ui-patches/handlers.patch patches/ui-patches/hide-default-browser.patch patches/ui-patches/lw-logo-devtools.patch diff --git a/patches/ui-patches/firefox-view-no-default.patch b/patches/ui-patches/firefox-view-no-default.patch new file mode 100644 index 0000000..74f9299 --- /dev/null +++ b/patches/ui-patches/firefox-view-no-default.patch @@ -0,0 +1,29 @@ +--- a/browser/components/customizableui/CustomizableUI.jsm ++++ b/browser/components/customizableui/CustomizableUI.jsm +@@ -277,7 +277,6 @@ var CustomizableUIInternal = { + { + type: CustomizableUI.TYPE_TOOLBAR, + defaultPlacements: [ +- "firefox-view-button", + "tabbrowser-tabs", + "new-tab-button", + "alltabs-button", +@@ -605,18 +604,6 @@ var CustomizableUIInternal = { + navbarPlacements.splice(newPosition, 0, "save-to-pocket-button"); + } + } +- +- // Add firefox-view if not present +- if (currentVersion < 18) { +- let tabstripPlacements = +- gSavedState.placements[CustomizableUI.AREA_TABSTRIP]; +- if ( +- tabstripPlacements && +- !tabstripPlacements.includes("firefox-view-button") +- ) { +- tabstripPlacements.unshift("firefox-view-button"); +- } +- } + }, + + _updateForNewProtonVersion() { \ No newline at end of file