diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 8e242d00e5e3..33440af56afb 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -2722,3 +2722,10 @@ pref("browser.places.snapshots.expiration.userManaged.days", 420); pref("browser.firefox-view.feature-tour", "{\"message\":\"FIREFOX_VIEW_FEATURE_TOUR\",\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}"); // Number of times the user visited about:firefoxview pref("browser.firefox-view.view-count", 0); + +// Enables cookie banner handling in Nightly in Private Browsing Mode. See +// StaticPrefList.yaml for a description of the prefs. +#ifdef NIGHTLY_BUILD + pref("cookiebanners.service.mode.privateBrowsing", 1); + pref("cookiebanners.bannerClicking.enabled", true); +#endif