使用javascript获取已安装的扩展名列表

编程入门 行业动态 更新时间:2024-10-27 23:28:28
本文介绍了使用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获取已安装的扩展名列表

本文发布于:2023-10-14 19:11:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1491952.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:扩展名   列表   javascript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!