Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果不存在合适的 api,如何使用附加组件访问 Firefox 的各个部分?
具体来说,我想阅读和修改过去下载列表的内容。
Firefox 的很多部分都是用 XUL 编写的,可以很容易地扩展为在页面中添加自己的脚本和 XUL,这有点像在网页中插入 JS 文件和 HTML,但是对于特权内容(插件和 Firefox 本身) . 例如,这个清单描述了我对 Firefox 的非 API 代码所做的一些添加,以调整一些开发人员工具。