1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 07:30:47 +05:30

Pesky 115 (#181)

* enable Cookie Banner handling
This commit is contained in:
HJ
2023-07-05 13:23:52 -04:00
committed by GitHub
parent 4d6a26df1e
commit d0a02dfd40
+24 -24
View File
@@ -3,7 +3,7 @@
* Peskyfox * * Peskyfox *
* "Aquila non capit muscas" * * "Aquila non capit muscas" *
* priority: remove annoyances * * priority: remove annoyances *
* version: 113 * * version: 115 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************/ ***************************************************************************/
@@ -99,27 +99,6 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
// PREF: disable always using dark theme for private browsing windows [FF106+] // PREF: disable always using dark theme for private browsing windows [FF106+]
//user_pref("browser.theme.dark-private-windows", false); //user_pref("browser.theme.dark-private-windows", false);
// PREF: Cookie Banner handling [NIGHTLY]
// [NOTE] Feature still enforces Total Cookie Protection to limit 3rd-party cookie tracking [1]
// [1] https://github.com/mozilla/cookie-banner-rules-list/issues/33#issuecomment-1318460084
// [2] https://phabricator.services.mozilla.com/D153642
// [3] https://winaero.com/make-firefox-automatically-click-on-reject-all-in-cookie-banner-consent/
// [4] https://docs.google.com/spreadsheets/d/1Nb4gVlGadyxix4i4FBDnOeT_eJp2Zcv69o-KfHtK-aA/edit#gid=0
// 2: reject banners if it is a one-click option; otherwise, fall back to the accept button to remove banner
// 1: reject banners if it is a one-click option; otherwise, keep banners on screen
// 0: disable all cookie banner handling
//user_pref("cookiebanners.service.mode", 2);
//user_pref("cookiebanners.service.mode.privateBrowsing", 2);
//user_pref("cookiebanners.bannerClicking.enabled", true); // DEFAULT [FF108]
//user_pref("cookiebanners.cookieInjector.enabled", true); // DEFAULT
// PREF: enable global CookieBannerRules
// This is used for click rules that can handle common Consent Management Providers (CMP)
// [WARNING] Enabling this (when the cookie handling feature is enabled) may
// negatively impact site performance since it requires us to run rule-defined
// query selectors for every page
//user_pref("cookiebanners.service.enableGlobalRules", enable);
// PREF: Firefox Translations [NIGHTLY ONLY] // PREF: Firefox Translations [NIGHTLY ONLY]
// Visit about:translations to translate your own text as well // Visit about:translations to translate your own text as well
// [1] https://blog.nightly.mozilla.org/2023/06/01/firefox-translations-and-other-innovations-these-weeks-in-firefox-issue-139/ // [1] https://blog.nightly.mozilla.org/2023/06/01/firefox-translations-and-other-innovations-these-weeks-in-firefox-issue-139/
@@ -187,8 +166,8 @@ user_pref("browser.urlbar.unitConversion.enabled", true);
// default=10, disable=0 // default=10, disable=0
//user_pref("browser.urlbar.maxRichResults", 1); //user_pref("browser.urlbar.maxRichResults", 1);
// PREF: show search query in URL bar instead of URL upon navigation // PREF: do not show search terms in address bar instead of the URL [FF113+]
//user_pref("browser.urlbar.showSearchTerms.enabled", true); // DEFAULT //user_pref("browser.urlbar.showSearchTerms.enabled", false);
/**************************************************************************** /****************************************************************************
* SECTION: AUTOPLAY * * SECTION: AUTOPLAY *
@@ -420,6 +399,27 @@ user_pref("browser.bookmarks.openInTabClosesMenu", false);
//user_pref("dom.disable_open_during_load", true); // DEFAULT //user_pref("dom.disable_open_during_load", true); // DEFAULT
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT //user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
// PREF: Cookie Banner handling [NIGHTLY]
// [NOTE] Feature still enforces Total Cookie Protection to limit 3rd-party cookie tracking [1]
// [1] https://github.com/mozilla/cookie-banner-rules-list/issues/33#issuecomment-1318460084
// [2] https://phabricator.services.mozilla.com/D153642
// [3] https://winaero.com/make-firefox-automatically-click-on-reject-all-in-cookie-banner-consent/
// [4] https://docs.google.com/spreadsheets/d/1Nb4gVlGadyxix4i4FBDnOeT_eJp2Zcv69o-KfHtK-aA/edit#gid=0
// 2: reject banners if it is a one-click option; otherwise, fall back to the accept button to remove banner
// 1: reject banners if it is a one-click option; otherwise, keep banners on screen
// 0: disable all cookie banner handling
user_pref("cookiebanners.service.mode", 2);
user_pref("cookiebanners.service.mode.privateBrowsing", 2);
//user_pref("cookiebanners.bannerClicking.enabled", true); // DEFAULT [FF108]
//user_pref("cookiebanners.cookieInjector.enabled", true); // DEFAULT
// PREF: enable global CookieBannerRules
// This is used for click rules that can handle common Consent Management Providers (CMP)
// [WARNING] Enabling this (when the cookie handling feature is enabled) may
// negatively impact site performance since it requires us to run rule-defined
// query selectors for every page
//user_pref("cookiebanners.service.enableGlobalRules", enable);
/**************************************************************************** /****************************************************************************
* SECTION: UNCATEGORIZED * * SECTION: UNCATEGORIZED *
****************************************************************************/ ****************************************************************************/