зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1519101 - Disable fingerprinting and cryptomining features by default, r=dimi
This commit is contained in:
Родитель
9cd04a84de
Коммит
157fe381ee
|
@ -1804,18 +1804,30 @@ VARCACHE_PREF(
|
||||||
)
|
)
|
||||||
|
|
||||||
// Block 3rd party fingerprinting resources.
|
// Block 3rd party fingerprinting resources.
|
||||||
|
#ifdef NIGHTLY_BUILD
|
||||||
|
# define PREF_VALUE true
|
||||||
|
#else
|
||||||
|
# define PREF_VALUE false
|
||||||
|
#endif
|
||||||
VARCACHE_PREF(
|
VARCACHE_PREF(
|
||||||
"privacy.trackingprotection.fingerprinting.enabled",
|
"privacy.trackingprotection.fingerprinting.enabled",
|
||||||
privacy_trackingprotection_fingerprinting_enabled,
|
privacy_trackingprotection_fingerprinting_enabled,
|
||||||
bool, true
|
bool, PREF_VALUE
|
||||||
)
|
)
|
||||||
|
#undef PREF_VALUE
|
||||||
|
|
||||||
// Block 3rd party cryptomining resources.
|
// Block 3rd party cryptomining resources.
|
||||||
|
#ifdef NIGHTLY_BUILD
|
||||||
|
# define PREF_VALUE true
|
||||||
|
#else
|
||||||
|
# define PREF_VALUE false
|
||||||
|
#endif
|
||||||
VARCACHE_PREF(
|
VARCACHE_PREF(
|
||||||
"privacy.trackingprotection.cryptomining.enabled",
|
"privacy.trackingprotection.cryptomining.enabled",
|
||||||
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
|
// Lower the priority of network loads for resources on the tracking protection
|
||||||
// list. Note that this requires the
|
// list. Note that this requires the
|
||||||
|
|
Загрузка…
Ссылка в новой задаче