Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to close firefox with new webextension api?

  • 2 odgovori
  • 1 ima ovaj problem
  • 2 views
  • Posljednji odgovor poslao 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.

All Replies (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: