How to detect if WebExtension addon is installed?

I’m developing a firefox add on, using the new web extension mechanism. Now I need to check in my web page if the extension is installed. I know that in chrome you have: chrome-extension://nnhadaeaehpngjcegobbnogakdapkiph/{your content} Is there something like that in firefox? Is there an alternative way?

Best,

Ofer

Developers often add a classname (or other identifier) to an element on the page (e.g. body) with the addon, that can be picked up by the site.

However … please note that, … Any tracking (e.g. affiliate/referral/install/uninstall/upgrade/disable/error etc) to outside sources requires clear disclosure in both the add-on description and the Privacy Policy.

1 Like