搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to close firefox with new webextension api?

  • 2 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I am writing an extension with the new WebExtension API but couldn't find an API to close/exit firefox cleanly. The closest I found was by closing all Tabs. However, that has a problem if developer's console is in open state. The firefox doesn't close entirely. I believe the old API system.exit() does not have that problem.

I am writing an extension with the new WebExtension API but couldn't find an API to close/exit firefox cleanly. The closest I found was by closing all Tabs. However, that has a problem if developer's console is in open state. The firefox doesn't close entirely. I believe the old API system.exit() does not have that problem.

所有回复 (2)

more options

Hi,

I think this will be the best place for you :

https://developer.mozilla.org/en-US/Add-ons/WebExtensions

Good luck  !

more options

See also the Add-ons forum: