firefox extension status bar overlay run
I am trying to make my first Firefox addon and am struggling a bit.
I have written the javascript code for what I want it to do (window.alert("hello world!")). I have found code to make a thing on the status bar: https://developer.mozilla.org/en-US/docs/Archive/Creating_a_status_bar_extention. Now, I want to make it so that a user can click on the status bar part and it will run my hello world alert. I have spent 3 hours looking and have found nothing.
How can I make my status bar thing run my javascript?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论