Added warning about browser faking in navigator

As discussed in #321
This commit is contained in:
kkapsner 2019-05-12 00:55:31 +02:00
parent 9fd454eb03
commit cb39d59c8f
4 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"Blockiermodi",
"Blockiermodus",
"Captcha",
"Funktionalitätstest",
"Ignorierliste",
"KHTML",
"Maleficient",

View File

@ -1035,6 +1035,10 @@
"message": "Auf dieser Seite können Sie die Navigatoreinstellungen festlegen. Wenn Sie eine Voreinstellung verwenden möchten, sollten Sie immer sowohl eine Betriebssystem- als auch eine Browservoreinstellung verwenden. Danach können Sie Ihre individuellen Änderungen vornehmen.",
"description": ""
},
"navigatorSettings_disclaimer": {
"message": "ACHTUNG: der tatsächlich verwendete Browser kann nicht komplett vorgetäuscht werden, da es eine Vielzahl von Möglichkeiten gibt, diesen zu detektieren. Z.B. kann er immer über Funktionalitätstest und Browser spezifische Darstellung von HTML-Elementen bestimmt werden.",
"description": ""
},
"navigatorSettings_presetSection.os": {
"message": "Betriebssystemvoreinstellungen",
"description": ""

View File

@ -1081,6 +1081,10 @@
"message": "On this page you can set the navigator settings. If using a preset you should always use an operating system and browser preset. After selecting these you can still make modifications.",
"description": ""
},
"navigatorSettings_disclaimer": {
"message": "CAUTION: the actual browser in use cannot be faked entirely as there is multitude of ways to detect it. E.g. feature tests and browser specific rendering of HTML elements will always leak.",
"description": ""
},
"navigatorSettings_presetSection.os": {
"message": "Operating system presets",
"description": ""

View File

@ -21,6 +21,11 @@
description.textContent = extension.getTranslation("navigatorSettings_description");
document.body.appendChild(description);
const disclaimer = document.createElement("div");
disclaimer.className = "disclaimer";
disclaimer.textContent = extension.getTranslation("navigatorSettings_disclaimer");
document.body.appendChild(disclaimer);
function presetSection(title, presets){
const container = document.createElement("div");
container.className = "presetSection";