使用javascript获取已安装的扩展名列表 [英] Get a list of installed extensions with javascript

查看:205
本文介绍了使用javascript获取已安装的扩展名列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出是否有可能得到所有安装的浏览器扩展名列表使用JavaScript



我知道这是可能的



使用 - chrome.extension引用
firefox - 使用Application.extensions.all



但是IE和Safari?

解决方案

您只能通过Chrome上下文(Firefox)或后台脚本(Chrome)来执行此操作。无法从网页获取扩展名列表。


Im trying to figure out if it is possible to get a list of all installed browser extensions using javascript

I understand it is possible on

chrom using - chrome.extension reference firefox - using Application.extensions.all

But is it possible on IE and Safari ?

解决方案

You can only do that from the Chrome Context (Firefox) or Background Script (Chrome). It is not possible to get the list of extensions from a webpage.

这篇关于使用javascript获取已安装的扩展名列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆