[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-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



Title: GitLab

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:

Changes:

  • toolkit/mozapps/extensions/content/aboutaddons.js
    ... ... @@ -1492,8 +1492,9 @@ class AddonOptions extends HTMLElement {
    1492 1492
               el.disabled = false;
    
    1493 1493
               el.hidden = false;
    
    1494 1494
               document.l10n.setAttributes(el, "remove-addon-button");
    
    1495
    -        } else if (addon.isBuiltin) {
    
    1496
    -          // Likely the built-in themes, can't be removed, that's fine.
    
    1495
    +        } else if (true || addon.isBuiltin) {
    
    1496
    +          // Just hide the uninstall button for any "special" add-on
    
    1497
    +          // which can't be removed (tor-browser#41834)
    
    1497 1498
               el.hidden = true;
    
    1498 1499
             } else {
    
    1499 1500
               // Likely sideloaded, mention that it can't be removed with a link.
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits