diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 1a96be3..be2de29 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -296,6 +296,10 @@ "message": "", "description": "" }, + "blockMode_urlSpecific": { + "message": "Um individuelle Blockiermodi für bestimmte Webseiten festzulegen, klicken Sie auf den schwarzen Pfeil um das Menü zu öffnen, fügen Sie die gewünschte Domain oder URL mit einem Klick auf \"+\" hinzu und wählen Sie den gewünschten Blockiermodus.", + "description": "" + }, "blockMode_options.allowEverything": { "message": "alles erlauben", "description": "" @@ -671,6 +675,10 @@ "message": "Benachrichtigungen anzeigen, wenn der Blockiermodus auf \"Auslese-API vortäuschen\" gesetzt ist.", "description": "" }, + "showNotifications_urlSpecific": { + "message": "Um Benachrichtigungen für bestimmte Webseiten zu deaktivieren, klicken Sie auf den schwarzen Pfeil um das Menü zu öffnen, fügen Sie die Domain oder URL mit einem Klick auf \"+\" hinzu und entfernen sie das zugehörige Häkchen.", + "description": "" + }, "showNotifications_title": { "message": "Benachrichtigungen anzeigen", "description": "" @@ -679,6 +687,10 @@ "message": "Page-Action Icon für eine erhöhte Sichtbarkeit hervorheben.", "description": "" }, + "highlightPageAction_urlSpecific": { + "message": "", + "description": "" + }, "highlightPageAction_title": { "message": "Page-Action Icon hervorheben", "description": "" @@ -707,6 +719,10 @@ "message": "", "description": "" }, + "highlightBrowserAction_urlSpecific": { + "message": "", + "description": "" + }, "highlightBrowserAction_title": { "message": "Toolbar Icon bei Benachrichtigung ändern", "description": "" @@ -816,6 +832,10 @@ "message": "Ob die Audio-API auch beschützt werden soll.", "description": "" }, + "protectAudio_urlSpecific": { + "message": "Um bestimmte Seiten von diesem Schutz auszuschließen, klicken Sie auf den schwarzen Pfeil um das Menü zu öffnen, fügen Sie die gewünschte Domain oder URL mit einem Klick auf \"+\" hinzu und entfernen Sie das zugehörige Häkchen.", + "description": "" + }, "audioFakeRate_title": { "message": "Buffer Vortäuschrate", "description": "" @@ -926,6 +946,10 @@ "message": "Es werden window.opener und window.name beschützt. Dies kann manche Webseiten unbrauchbar machen.", "description": "" }, + "protectWindow_urlSpecific": { + "message": "Um bestimmte Seiten von diesem Schutz auszuschließen, klicken Sie auf den schwarzen Pfeil um das Menü zu öffnen, fügen Sie die gewünschte Domain oder URL mit einem Klick auf \"+\" hinzu und entfernen Sie das zugehörige Häkchen.", + "description": "" + }, "protectWindow_askReCaptchaException": { "message": "Wenn die Window-API beschützt wird, funktioniert reCAPTCHA nicht mehr. Wollen Sie dafür eine Ausnahme hinzufügen?", "description": "" @@ -939,6 +963,10 @@ "message": "Beschützt vor dem \"getClientRects()\" Fingerprint und einigen anderen ähnlichen Methoden.", "description": "" }, + "protectDOMRect_urlSpecific": { + "message": "Um bestimmte Seiten von diesem Schutz auszuschließen, klicken Sie auf den schwarzen Pfeil um das Menü zu öffnen, fügen Sie die gewünschte Domain oder URL mit einem Klick auf \"+\" hinzu und entfernen Sie das zugehörige Häkchen.", + "description": "" + }, "domRectIntegerFactor_title": { "message": "DOMRect Ganzzahlfaktor", diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 3bfa07b..bb2137b 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -296,6 +296,10 @@ "message": "", "description": "" }, + "blockMode_urlSpecific": { + "message": "To set individual block modes for specific websites, click on the black arrow to open the menu, add the domain or URL by clicking on \"+\" and select the desired block mode.", + "description": "" + }, "blockMode_options.allowEverything": { "message": "allow everything", "description": "" @@ -670,6 +674,10 @@ "message": "Show a notification when the block mode is set to \"fake readout API\".", "description": "" }, + "showNotifications_urlSpecific": { + "message": "To deactivate notifications for specific websites, click on the black arrow to open the menu, add the domain or URL by clicking on \"+\" and remove its checkmark.", + "description": "" + }, "showNotifications_title": { "message": "Show notifications", "description": "" @@ -678,6 +686,10 @@ "message": "Highlight the page action icon for better visibility.", "description": "" }, + "highlightPageAction_urlSpecific": { + "message": "", + "description": "" + }, "highlightPageAction_title": { "message": "Highlight page action icon", "description": "" @@ -706,6 +718,10 @@ "message": "", "description": "" }, + "highlightBrowserAction_urlSpecific": { + "message": "", + "description": "" + }, "highlightBrowserAction_title": { "message": "Change toolbar icon on notification", "description": "" @@ -815,6 +831,10 @@ "message": "If the audio API should be protected as well", "description": "" }, + "protectAudio_urlSpecific": { + "message": "To exclude specific websites from this protection, click on the black arrow to open the menu, add the domain or URL by clicking on \"+\" and remove its checkmark.", + "description": "" + }, "audioFakeRate_title": { "message": "Buffer fake rate", "description": "" @@ -925,6 +945,10 @@ "message": "window.opener and window.name will be protected. This can render some web pages unusable.", "description": "" }, + "protectWindow_urlSpecific": { + "message": "To exclude specific websites from this protection, click on the black arrow to open the menu, add the domain or URL by clicking on \"+\" and remove its checkmark.", + "description": "" + }, "protectWindow_askReCaptchaException": { "message": "Protecting the window API breaks reCAPTCHA. Do you want to add an exception for it?", "description": "" @@ -938,6 +962,10 @@ "message": "This protects against the \"getClientRects()\" fingerprinting and several similar methods.", "description": "" }, + "protectDOMRect_urlSpecific": { + "message": "To exclude specific websites from this protection, click on the black arrow to open the menu, add the domain or URL by clicking on \"+\" and remove its checkmark.", + "description": "" + }, "domRectIntegerFactor_title": { "message": "DOMRect integer factor", diff --git a/options/optionsGui.js b/options/optionsGui.js index 5f6d195..f16f54d 100644 --- a/options/optionsGui.js +++ b/options/optionsGui.js @@ -25,6 +25,12 @@ c.appendChild(title); var descriptionText = browser.i18n.getMessage(setting.name + "_description"); + if (setting.urlSpecific){ + const urlSpecificDescription = browser.i18n.getMessage(setting.name + "_urlSpecific"); + if (urlSpecificDescription){ + descriptionText += (descriptionText? "\n\n": "") + urlSpecificDescription; + } + } if (descriptionText){ var info = document.createElement("div"); info.className = "info";