Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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.

選ばれた解決策

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.

この回答をすべて読む 👍 0

すべての返信 (2)

more options

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

more options

選ばれた解決策

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.