使用 firebreath 的浏览器插件
我已经使用 firebreath 构建了示例插件。现在我计划编写一个插件来捕获网页中的所有事件。
请帮忙如何使用 firebreath 来做到这一点?
谢谢。
i ve built the sample plugin using firebreath.. Now I m planning to write a plugin that captures all the events from a webpage.
Please help how to do this using firebreath ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法在插件中捕获页面事件;插件在页面上具有特定位置,由
正如 Taxilian 所说,听起来您可能已经将 NPAPI/ActiveX 插件和浏览器扩展混为一谈了。
You can't capture page events in a plugin; plugins have a specific location on the page, created by an
<object>
or<embed>
tag, and control the drawing and event handling for that area only. (Flash and QuickTime, for example, are plugins.) What you want to do would be done with JavaScript.As Taxilian said, it sounds like you have probably conflated NPAPI/ActiveX plugins and browser extensions.