How can I find out what extensions (not plugins) are currently installed using JavaScript?
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.
- http://blog.mozilla.com/security/2007/11/16/jar-protocol-xss-security-issues/
- http://blog.mozilla.com/security/2008/01/22/chrome-protocol-directory-traversal/
- http://blog.mozilla.com/security/2008/01/29/status-update-for-chrome-protocol-directory-traversal-issue/
모든 댓글 (2)
For that kind of help you should see the documentation at MDN - https://developer.mozilla.org
선택된 해결법
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.