This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I find out what extensions (not plugins) are currently installed using JavaScript?

  • 2 cavab
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I am creating a JavaScript module which detects if a Firefox extension is installed in the client's browser.

I can check if a Firefox plugin is installed by querying navigator.plugins object, but I can't figure out how to do this for extensions.

I am creating a JavaScript module which detects if a Firefox extension is installed in the client's browser. I can check if a Firefox plugin is installed by querying navigator.plugins object, but I can't figure out how to do this for extensions.

Chosen solution

You can't check for extensions that are installed.
Plugins can be detected via navigator.plugins as you posted, but you can't detect extensions for privacy and security reasons.


It the past it was possible to check for images added by an extension, but that access was blocked.

Read this answer in context 👍 0

All Replies (2)

more options

For that kind of help you should see the documentation at MDN - https://developer.mozilla.org

more options

Seçilmiş Həll

You can't check for extensions that are installed.
Plugins can be detected via navigator.plugins as you posted, but you can't detect extensions for privacy and security reasons.


It the past it was possible to check for images added by an extension, but that access was blocked.