I’d like my addon to be able to restart Firefox. Is there an API for this? I thought I might be able to do something similar to what the Developer Toolbar (GCLI) does with its restart command but that feature is being entirely removed from Firefox.
Thanks for the link! Glad I’m not the only one thinking about this. The key command automation sounds possible but that combination actually doesn’t do anything for me. Ctrl + Shift + J opens up the Browser Console but Ctrl + Alt + R has no effect for me. I’m on Ubuntu, is that an OS specific command?
ghacks hints at it and seems to be right: it only works from FF62 onward.
I tried it it in the release (61) and trunk (63) versions on Linux and only the latter works.
Beta (62) on Windows works as well.