Message manager 编辑
Message managers provide a way for chrome-privileged JavaScript code to communicate across process boundaries. They are particularly useful for allowing chrome code, including the browser's code and extension's code, to access web content while the browser is running web content in a separate process.
These guides explain how to use message managers in multiprocess Firefox.
Note that none of this requires multiprocess Firefox: everything described here will work with single-process Firefox, so the same code will work on both variants.
Guides
- Message manager overview
- Frame script loading and lifetime
- Communicating with frame scripts
- Performance Best Practices
API reference
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论