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

问题描述

在查看缓存等之后,我花了很多时间试图确定为什么我的网站视图与客户端不匹配.我们确定问题出在其中一个附加组件上(Adblock Plus 在这种特殊情况).如果我们可以有一种简单的方法来查询安装了哪些附加组件,并且理想情况下处于活动状态,那将会简单得多.无论如何,是否可以使用 JavaScript 以编程方式生成列表?

解决方案

不,您不能使用用户/页面 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?

解决方案

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.

Check out: "Extension List Dumper".

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

07-07 23:30