另一个 Firefox 扩展如何将站点标记为“可信”?在无脚本中?
我希望编写一个与 Web of Trust API 集成的扩展 自动将信誉良好的网站标记为可信。
然而,据我所知,与NoScript集成没有简单的方法。我需要做的是检查站点是否位于受信任列表或不受信任列表中,如果不在受信任列表中,则将其添加到受信任列表中。
任何帮助将不胜感激。
I am looking to write an extension that will integrate with the Web of Trust API to mark sites with good reputation as trusted automatically.
However, from what I can understand, there is no easy way to integrate with NoScript. What I would need to do is check if a site is on the trusted or untrusted list, and add it to the trusted list if it's not already on either.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NoScript 似乎使用 capability.policy.maonoscript.sites 作为用户首选项,以便存储允许的站点(请参阅您的 Firefox 配置文件中的 prefs.js)...只需尝试读取/插入其中(希望“@mozilla.org/preferences-service;1”允许它;))
PS:NoScript使用chrome://noscript/content/Sites。 js 来处理这些数据
Happy Hacking
NoScript seems to use capability.policy.maonoscript.sites as user preference in order to store the allowed sites (see yourself at prefs.js on your firefox profile)... just try reading/inserting in it (hope "@mozilla.org/preferences-service;1" allow it ;))
P.S.: NoScript uses chrome://noscript/content/Sites.js in order to handle these data
Happy Hacking