From 79f5ec4b40778dc7e99534636bd0325f5bb8ce31 Mon Sep 17 00:00:00 2001 From: fxbrit Date: Tue, 8 Feb 2022 00:45:42 +0100 Subject: [PATCH] #144 --- docs/Changelog.md | 2 ++ librewolf.cfg | 35 ++++++++++++++++++----------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/docs/Changelog.md b/docs/Changelog.md index c923657..66a1e87 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -11,6 +11,7 @@ Setting versions are documented using the pref `librewolf.cfg.version`, availabl - showing the insecure connection text is redundant as there's already the lock UI for http websites. - `browser.places.speculativeConnect.enabled` controls speculative connections for bookmarks and will be fully effective only once we hit v98. - we will no longer disable history but we'll clear it on close. [reasoning](https://gitlab.com/librewolf-community/settings/-/issues/135). +- [download annoyances](https://gitlab.com/librewolf-community/settings/-/issues/144). **Notes**: the settings have been re-organized and they should also be documented a bit better now. @@ -23,6 +24,7 @@ defaultPref("places.history.enabled", true); #### Added preferences ``` defaultPref("browser.places.speculativeConnect.enabled", false); +defaultPref("browser.download.alwaysOpenPanel", false); // do not expand toolbar menu for every download, we already have enough interaction ``` #### Changed preferences diff --git a/librewolf.cfg b/librewolf.cfg index e063290..fd6c7a5 100755 --- a/librewolf.cfg +++ b/librewolf.cfg @@ -73,7 +73,7 @@ defaultPref("browser.sessionstore.interval", 60000); // increase time between se * enable query stripping and set the strip list. * currently we use the same one that brave uses: * https://github.com/brave/brave-core/blob/f337a47cf84211807035581a9f609853752a32fb/browser/net/brave_site_hacks_network_delegate_helper.cc#L29 - */ + */ defaultPref("privacy.query_stripping.enabled", true); defaultPref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid"); /** @@ -305,6 +305,7 @@ lockPref("browser.urlbar.quicksuggest.dataCollection.enabled", false); // defaul defaultPref("browser.download.useDownloadDir", false); defaultPref("browser.download.autohideButton", false); // do not hide download button automatically defaultPref("browser.download.manager.addToRecentDocs", false); // do not add downloads to recents +defaultPref("browser.download.alwaysOpenPanel", false); // do not expand toolbar menu for every download, we already have enough interaction /** [SECTION] AUTOPLAY * block autoplay unless element is clicked, and apply the policy to all elements @@ -449,22 +450,22 @@ defaultPref("browser.shell.checkDefaultBrowser", false); /** [SECTION] NEW TAB PAGE * we want the new tab page to display nothing but the search bar without anything distracting. */ - defaultPref("browser.newtab.preload", false); - defaultPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); - defaultPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); - defaultPref("browser.newtabpage.activity-stream.feeds.topsites", false); - // hide pocket and sponsored content, from new tab page and search bar - lockPref("browser.newtabpage.activity-stream.feeds.section.topstories", false); - lockPref("browser.newtabpage.activity-stream.feeds.system.topstories", false); - lockPref("browser.newtabpage.activity-stream.feeds.telemetry", false); - lockPref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "{\"hidden\":true}"); // hide buggy pocket section from about:preferences#home - lockPref("browser.newtabpage.activity-stream.showSponsored", false); - lockPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); - lockPref("browser.newtabpage.activity-stream.telemetry", false); - lockPref("browser.newtabpage.activity-stream.default.sites", ""); - lockPref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); - lockPref("browser.newtabpage.activity-stream.discoverystream.enabled", false); - lockPref("browser.newtabpage.activity-stream.feeds.snippets", false); // default +defaultPref("browser.newtab.preload", false); +defaultPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); +defaultPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); +defaultPref("browser.newtabpage.activity-stream.feeds.topsites", false); +// hide pocket and sponsored content, from new tab page and search bar +lockPref("browser.newtabpage.activity-stream.feeds.section.topstories", false); +lockPref("browser.newtabpage.activity-stream.feeds.system.topstories", false); +lockPref("browser.newtabpage.activity-stream.feeds.telemetry", false); +lockPref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "{\"hidden\":true}"); // hide buggy pocket section from about:preferences#home +lockPref("browser.newtabpage.activity-stream.showSponsored", false); +lockPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); +lockPref("browser.newtabpage.activity-stream.telemetry", false); +lockPref("browser.newtabpage.activity-stream.default.sites", ""); +lockPref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); +lockPref("browser.newtabpage.activity-stream.discoverystream.enabled", false); +lockPref("browser.newtabpage.activity-stream.feeds.snippets", false); // default /** [SECTION] ABOUT * remove annoying ui elements from the about pages, including about:protections