this post was submitted on 23 Sep 2024
71 points (98.6% liked)

Firefox

18055 readers
18 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 29 points 3 months ago

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.

[–] [email protected] 24 points 3 months ago* (last edited 3 months ago) (1 children)

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.

[–] [email protected] 11 points 3 months ago

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.

[–] mnmalst 13 points 3 months ago (1 children)
[–] Blisterexe 5 points 3 months ago

But totally worth the read