Bug 1519101 - Disable fingerprinting and cryptomining features by default, r=dimi

This commit is contained in:
Andrea Marchesini 2019-01-10 17:18:20 +01:00
Родитель 9cd04a84de
Коммит 157fe381ee
1 изменённых файлов: 14 добавлений и 2 удалений

Просмотреть файл

@ -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