An old article but provides a detailed view on the choice of removing the old XUL addons

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    29
    ·
    3 个月前

    XUL was HORRIBLE to write, implement, and debug. Been there, done that. It was also 0% portable.

    WebExtensions (even if there are some technical limitations and some browser manufacturers decided to intentionally cripple some of the APIs) are in general so much better. You have proper toolchains for development, translations, testing, and publishing. And it is pretty much portable to all browsers. You don’t even have to port anything 99% of the time because it’s just compatible.

  • jimmydoreisalefty@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    3 个月前

    TIL.

    Thanks for sharing!


    Edit: added quote below

    By design, WebExtensions is more limited than the promiscuous extension mechanism. By design, it also works better. Most of the Firefox development tax has disappeared, as only the WebExtensions API needs to be protected, rather than the entire code of Firefox. Most of the maintenance tax has disappeared, as the WebExtensions API are stable (there have unfortunately been a few exceptions). It is also much simpler to use, lets add-on developers share code between Firefox and Chromium add-ons and should eventually make it easier to write extensions that work flawlessly on Desktop and Mobile.

    • Chewy
      link
      fedilink
      arrow-up
      11
      ·
      3 个月前

      With uBlock Origin and many other extensions working (almost) flawlessly on mobile, I’d say they were spot on. Almost, because some aren’t comfortable to use because they aren’t made with touch and small a screen in mind.