зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1484832 - Update DNT section for Content Blocking. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D4517 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7da8e04c87
Коммит
ebb1072247
|
@ -578,6 +578,14 @@ var gPrivacyPane = {
|
||||||
document.getElementById(id).hidden = contentBlockingUiEnabled != visibleState[id];
|
document.getElementById(id).hidden = contentBlockingUiEnabled != visibleState[id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update the Do Not Track section to not mention "Tracking Protection".
|
||||||
|
if (contentBlockingUiEnabled) {
|
||||||
|
let dntDefaultRadioItem =
|
||||||
|
document.querySelector("#doNotTrackRadioGroup > radio[value=false]");
|
||||||
|
document.l10n.setAttributes(
|
||||||
|
dntDefaultRadioItem, "do-not-track-option-default-content-blocking");
|
||||||
|
}
|
||||||
|
|
||||||
// Allow turning off the "(recommended)" label using a pref
|
// Allow turning off the "(recommended)" label using a pref
|
||||||
let blockCookiesFromTrackers = document.getElementById("blockCookiesFromTrackers");
|
let blockCookiesFromTrackers = document.getElementById("blockCookiesFromTrackers");
|
||||||
if (contentBlockingCookiesAndSiteDataRejectTrackersRecommended) {
|
if (contentBlockingCookiesAndSiteDataRejectTrackersRecommended) {
|
||||||
|
|
|
@ -6,6 +6,8 @@ do-not-track-description = Send websites a “Do Not Track” signal that you do
|
||||||
do-not-track-learn-more = Learn more
|
do-not-track-learn-more = Learn more
|
||||||
do-not-track-option-default =
|
do-not-track-option-default =
|
||||||
.label = Only when using Tracking Protection
|
.label = Only when using Tracking Protection
|
||||||
|
do-not-track-option-default-content-blocking =
|
||||||
|
.label = Only when { -brand-short-name } is set to block Detected Trackers
|
||||||
do-not-track-option-always =
|
do-not-track-option-always =
|
||||||
.label = Always
|
.label = Always
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче