150
submitted 1 year ago by p1mrx@sh.itjust.works to c/firefox@lemmy.ml

I originally wrote IPvFoo for Chrome in 2011, to observe whether websites are served using IPv4 or IPv6:

https://github.com/pmarks-net/ipvfoo/

In 2017, Firefox added initial WebExtensions support, so I dropped the extension on addons.mozilla.org, technically functional but full of bugs, and hoped for the best.

This week, I finally sat down with Firefox and ironed out all the problems:

I'm pretty sure that covers everything, so IPvFoo now provides an equivalent user experience on Chrome and Firefox. Enjoy!

you are viewing a single comment's thread
view the rest of the comments
[-] p1mrx@sh.itjust.works 1 points 1 year ago

I imagine when extensions on Firefox Mobile stabilise more, there will be better documentation and migration guides.

Ideally, the mobile version should just implement the same APIs, so no migration is needed. The mobile migration guide looks consistent with "implement Manifest V3", which is a reasonable idea aside from Chrome's removal of webRequestBlocking.

The only questionable API I'm using is pageAction, which draws an icon in the address bar instead of on the extension itself. Chrome removed pageAction years ago, and it's possible that Firefox will follow suit, but until then I intend to keep using it.

this post was submitted on 18 Aug 2023
150 points (98.7% liked)

Firefox

17302 readers
234 users here now

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

founded 4 years ago
MODERATORS