Bug 1372033 - Added option to permanently disallow addon installation for a website. r=johannh,aswan draft
authorPaul Zuehlcke <pzuhlcke@mozilla.com>
Thu, 16 May 2019 10:20:07 +0000
changeset 11537 fc2fd6b706df0579a1d61c8d665b7c88844e9fef
parent 11536 0f35268075061dc9200f8b0777b695b2b97c47ca
child 11538 c1d1c96520b2926df54585f7a3ed750ece92991b
push id235
push userflodolo@mozilla.com
push dateSat, 18 May 2019 05:13:32 +0000
reviewersjohannh, aswan
bugs1372033
Bug 1372033 - Added option to permanently disallow addon installation for a website. r=johannh,aswan Differential Revision: https://phabricator.services.mozilla.com/D28867 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: cb21c0b524ff08b12769387a1f8d3fa42258cb22 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 2265bfc5920d3e510c4edf9b0caf8e3eaf9bdc9c X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 455c1065dcbe14b73771df2db56aae43a44dfcf8
browser/chrome/browser/browser.dtd
browser/chrome/browser/browser.properties
--- a/browser/chrome/browser/browser.dtd
+++ b/browser/chrome/browser/browser.dtd
@@ -336,16 +336,18 @@ These should match what Safari and other
 <!ENTITY urlbar.webNotificationsBlocked.tooltip  "You have blocked notifications for this website.">
 <!ENTITY urlbar.persistentStorageBlocked.tooltip "You have blocked persistent storage for this website.">
 <!ENTITY urlbar.popupBlocked.tooltip             "You have blocked pop-ups for this website.">
 <!ENTITY urlbar.autoplayMediaBlocked.tooltip     "You have blocked autoplay media with sound for this website.">
 <!ENTITY urlbar.canvasBlocked.tooltip            "You have blocked canvas data extraction for this website.">
 <!ENTITY urlbar.flashPluginBlocked.tooltip       "You have blocked this website from using the Adobe Flash plugin.">
 <!ENTITY urlbar.midiBlocked.tooltip              "You have blocked MIDI access for this website.">
 
+<!ENTITY urlbar.installBlocked.tooltip           "You have blocked add-on installation for this website.">
+
 <!ENTITY urlbar.openHistoryPopup.tooltip                "Show history">
 
 <!ENTITY searchItem.title             "Search">
 
 <!-- Toolbar items -->
 <!ENTITY homeButton.label             "Home">
 <!ENTITY homeButton.defaultPage.tooltip "&brandShortName; Home Page">
 
--- a/browser/chrome/browser/browser.properties
+++ b/browser/chrome/browser/browser.properties
@@ -30,16 +30,18 @@ xpinstallPromptMessage.message.unknown=Y
 xpinstallPromptMessage.learnMore=Learn more about installing add-ons safely
 xpinstallPromptMessage.dontAllow=Don’t Allow
 xpinstallPromptMessage.dontAllow.accesskey=D
 xpinstallPromptAllowButton=Allow
 # Accessibility Note:
 # Be sure you do not choose an accesskey that is used elsewhere in the active context (e.g. main menu bar, submenu of the warning popup button)
 # See http://www.mozilla.org/access/keyboard/accesskey for details
 xpinstallPromptAllowButton.accesskey=A
+xpinstallPromptMessage.neverAllow=Never Allow
+xpinstallPromptMessage.neverAllow.accesskey=N
 # Accessibility Note:
 # Be sure you do not choose an accesskey that is used elsewhere in the active context (e.g. main menu bar, submenu of the warning popup button)
 # See https://website-archive.mozilla.org/www.mozilla.org/access/access/keyboard/ for details
 xpinstallPromptMessage.install=Continue to Installation
 xpinstallPromptMessage.install.accesskey=C
 
 xpinstallDisabledMessageLocked=Software installation has been disabled by your system administrator.
 xpinstallDisabledMessage=Software installation is currently disabled. Click Enable and try again.