Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

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: