本文介绍了使用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获取已安装的扩展名列表
发布评论