diff --git a/modules/libpref/init/StaticPrefList.h b/modules/libpref/init/StaticPrefList.h index 616cb4c3f65d..8b1985cab7eb 100644 --- a/modules/libpref/init/StaticPrefList.h +++ b/modules/libpref/init/StaticPrefList.h @@ -1804,18 +1804,30 @@ VARCACHE_PREF( ) // Block 3rd party fingerprinting resources. +#ifdef NIGHTLY_BUILD +# define PREF_VALUE true +#else +# define PREF_VALUE false +#endif VARCACHE_PREF( "privacy.trackingprotection.fingerprinting.enabled", privacy_trackingprotection_fingerprinting_enabled, - bool, true + bool, PREF_VALUE ) +#undef PREF_VALUE // Block 3rd party cryptomining resources. +#ifdef NIGHTLY_BUILD +# define PREF_VALUE true +#else +# define PREF_VALUE false +#endif VARCACHE_PREF( "privacy.trackingprotection.cryptomining.enabled", privacy_trackingprotection_cryptomining_enabled, - bool, true + bool, PREF_VALUE ) +#undef PREF_VALUE // Lower the priority of network loads for resources on the tracking protection // list. Note that this requires the