Firefox 扩展按照什么顺序初始化?
当用户有多个 Firefox 扩展时,什么决定了它们初始化的顺序?具体来说,XUL 覆盖应用的顺序是什么?在大多数情况下,顺序并不重要,但它确实会影响项目在“工具”菜单或状态栏中显示的顺序等内容。此外,能够依赖扩展 A 将在扩展 B 之前初始化的知识有时可以简化编码。
我找不到任何文档中涵盖这一点,因此非常欢迎任何见解。非常感谢。
When a user has several Firefox extensions, what decides the order in which they get initialised? Specifically, in which order are XUL overlays applied? In most cases the order is not important, but it does affect things like the order in which items appear on the Tools menu, say, or in the status bar. Furthermore, being able to rely on the knowledge that extension A would be initialised before extension B could sometimes simplify coding.
I can't find this covered in any documentation, so any insight would be most welcome. Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信这是按安装顺序排列的。至少以前是这样。
I believe it's in order of installation. At least it used to be so.