Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (2)

more options

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

more options

Giải pháp được chọn

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.