你能以编程方式获得一个Firefox附加组件列表吗? [英] Can you get a list of Firefox add-ons programmatically

查看:160
本文介绍了你能以编程方式获得一个Firefox附加组件列表吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了相当多的时间试图确定为什么我的网站视图与客户端不匹配,在查看缓存等之后我们确定了其中一个加载项的问题(Adblock Plus in这个特殊情况)。如果我们能够轻松地查询安装了哪些附加组件并且理想情况下处于活动状态,那将简单得多。有没有以编程方式用JavaScript生成列表?

I spent a fair amount of time trying to determine why my view of a site didn't match a clients, after looking at the cache etc. we determined the problem to be with one of the add-ons (Adblock Plus in this particular case). It would have been much simpler if we could have had an easy way to query what add-ons were installed, and ideally active. Is there anyway to generate a list programmatically perhaps with JavaScript?

推荐答案

不,你不能用用户/页面JavaScript做到这一点。我想如果可能的话,这将是一个安全风险。

No, you can't do this with user/page JavaScript. I imagine it would be a security risk, if you could.

但是你可以安装一个附件,它将生成一个可打印的,可复制的已安装扩展名列表/附加组件。

But there is an add-on you can install that will generate a printable, copyable list of installed extensions/Add-ons.

查看:Extension List Dumper

这篇关于你能以编程方式获得一个Firefox附加组件列表吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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