diff options
author | JustOff <Off.Just.Off@gmail.com> | 2020-02-19 19:30:21 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:47:05 +0200 |
commit | 11ede8724228309bf0e7d99097159d461e7d9693 (patch) | |
tree | 0afdf323e8062e12d4d5ba0f1bbb8ceab4aba2ca /toolkit/mozapps | |
parent | 3630fec5596f634e85749fa5abc4986843e6cbfa (diff) | |
download | UXP-11ede8724228309bf0e7d99097159d461e7d9693.tar UXP-11ede8724228309bf0e7d99097159d461e7d9693.tar.gz UXP-11ede8724228309bf0e7d99097159d461e7d9693.tar.lz UXP-11ede8724228309bf0e7d99097159d461e7d9693.tar.xz UXP-11ede8724228309bf0e7d99097159d461e7d9693.zip |
Issue #1445 - Add a link to details on using Firefox extensions in Pale Moon
Diffstat (limited to 'toolkit/mozapps')
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.js | 4 | ||||
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js index 782fca303..3c3b5894b 100644 --- a/toolkit/mozapps/extensions/content/extensions.js +++ b/toolkit/mozapps/extensions/content/extensions.js @@ -3067,6 +3067,10 @@ var gDetailView = { "details.notification.compatibility", [this._addon.name, gStrings.brandShortName], 2 ); + var warningLink = document.getElementById("detail-warning-link"); + warningLink.value = gStrings.ext.GetStringFromName("details.notification.compatibility.link"); + warningLink.href = Services.urlFormatter.formatURLPref("extensions.compatibility.url"); + warningLink.hidden = false; #endif } else { this.node.removeAttribute("notification"); diff --git a/toolkit/mozapps/extensions/content/extensions.xml b/toolkit/mozapps/extensions/content/extensions.xml index 097410fd2..e2eef852a 100644 --- a/toolkit/mozapps/extensions/content/extensions.xml +++ b/toolkit/mozapps/extensions/content/extensions.xml @@ -1363,6 +1363,10 @@ "notification.compatibility", [this.mAddon.name, gStrings.brandShortName], 2 ); + this._warningLink.value = gStrings.ext.GetStringFromName("notification.compatibility.link"); + this._warningLink.href = Services.urlFormatter.formatURLPref("extensions.compatibility.url"); + this._warningLink.hidden = false; + this._warningBtn.hidden = true; } } #endif |