ma1 pushed to branch base-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits: e4fae18a by hackademix at 2023-07-06T15:46:27+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/e4fae18a...
tor-commits@lists.torproject.org