[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.0esrbase-13.0-1] Bug 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
ma1 (@ma1)
git at gitlab.torproject.org
Thu Jul 6 12:59:17 UTC 2023
ma1 pushed to branch tor-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
b06f6190 by hackademix at 2023-07-06T00:10:24+02:00
Bug 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
- - - - -
1 changed file:
- toolkit/mozapps/extensions/content/aboutaddons.js
Changes:
=====================================
toolkit/mozapps/extensions/content/aboutaddons.js
=====================================
@@ -1492,8 +1492,9 @@ class AddonOptions extends HTMLElement {
el.disabled = false;
el.hidden = false;
document.l10n.setAttributes(el, "remove-addon-button");
- } else if (addon.isBuiltin) {
- // Likely the built-in themes, can't be removed, that's fine.
+ } else if (true || addon.isBuiltin) {
+ // Just hide the uninstall button for any "special" add-on
+ // which can't be removed (tor-browser#41834)
el.hidden = true;
} else {
// Likely sideloaded, mention that it can't be removed with a link.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/b06f61906d0f76ad5fca1ebf410cd4b9cd5e3679
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/b06f61906d0f76ad5fca1ebf410cd4b9cd5e3679
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230706/877f8500/attachment.htm>
More information about the tbb-commits
mailing list