From 4fd96942aa3abb94ccc5fdc23361e1e5abcfd13e Mon Sep 17 00:00:00 2001 From: fxbrit Date: Tue, 8 Mar 2022 16:59:17 +0100 Subject: [PATCH] add mfM pref, remove handler prefs --- docs/Changelog.md | 19 ++++++++++++++++++- librewolf.cfg | 14 ++------------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/docs/Changelog.md b/docs/Changelog.md index 4691c7e..e760f9f 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -9,16 +9,33 @@ Setting versions are documented using the pref `librewolf.cfg.version`, availabl **References**: - we are going to force history to custom mode and hide the UI for always on PB mode, a bunch of pointers are collected in [this MR](https://gitlab.com/librewolf-community/browser/source/-/merge_requests/21). +- [handlers prefs are deprecated](https://bugzilla.mozilla.org/show_bug.cgi?id=1733497). #### Added preferences ``` pref("privacy.history.custom", true); pref("browser.privatebrowsing.autostart", false); +defaultPref("browser.preferences.moreFromMozilla", false); // hide about:preferences#moreFromMozilla +``` + +#### Removed preferences +``` +/** [SECTION] HANDLERS + * remove the default handlers for several tipe of files and services. + */ +lockPref("gecko.handlerService.schemes.mailto.0.uriTemplate", ""); +lockPref("gecko.handlerService.schemes.mailto.0.name", ""); +lockPref("gecko.handlerService.schemes.mailto.1.uriTemplate", ""); +lockPref("gecko.handlerService.schemes.mailto.1.name", ""); +lockPref("gecko.handlerService.schemes.irc.0.uriTemplate", ""); +lockPref("gecko.handlerService.schemes.irc.0.name", ""); +lockPref("gecko.handlerService.schemes.ircs.0.uriTemplate", ""); +lockPref("gecko.handlerService.schemes.ircs.0.name", ""); ``` # 5.5 -**target commit**: +**target commit**: 0fc1ff53c99379d9d4625de65ea51287d57a0a3a **base librewolf version**: 97.x diff --git a/librewolf.cfg b/librewolf.cfg index ecf3137..f66d593 100755 --- a/librewolf.cfg +++ b/librewolf.cfg @@ -434,18 +434,6 @@ defaultPref("app.releaseNotesURL.aboutDialog", "https://gitlab.com/librewolf-com defaultPref("app.update.url.details", "https://gitlab.com/librewolf-community/browser"); defaultPref("app.update.url.manual", "https://gitlab.com/librewolf-community/browser"); -/** [SECTION] HANDLERS - * remove the default handlers for several tipe of files and services. - */ -lockPref("gecko.handlerService.schemes.mailto.0.uriTemplate", ""); -lockPref("gecko.handlerService.schemes.mailto.0.name", ""); -lockPref("gecko.handlerService.schemes.mailto.1.uriTemplate", ""); -lockPref("gecko.handlerService.schemes.mailto.1.name", ""); -lockPref("gecko.handlerService.schemes.irc.0.uriTemplate", ""); -lockPref("gecko.handlerService.schemes.irc.0.name", ""); -lockPref("gecko.handlerService.schemes.ircs.0.uriTemplate", ""); -lockPref("gecko.handlerService.schemes.ircs.0.name", ""); - /** [SECTION] FIRST LAUNCH * disable what's new and ui tour on first start and updates. the browser * should also not stress user about being the default one. @@ -496,6 +484,8 @@ defaultPref("lightweightThemes.getMoreURL", ""); // disable button to get more t defaultPref("browser.topsites.useRemoteSetting", false); // hide sponsored shortcuts button // ...and about:config defaultPref("browser.aboutConfig.showWarning", false); +// hide about:preferences#moreFromMozilla +defaultPref("browser.preferences.moreFromMozilla", false); /** [SECTION] RECOMMENDED * disable all "recommend as you browse" activity.