How to create a global hotkey for opening the “browserAction” popup in Firefox (WebExtensions)?

后端 未结 3 1422
刺人心
刺人心 2020-11-29 10:46

It seems Chrome doesn\'t have an API to open the popup, but has a dedicated system for doing it with a hotkey: _execute_browser_action key in commands

3条回答
  •  青春惊慌失措
    2020-11-29 11:18

    _exectue_browser_action, _execute_page_action, _execute_sidebar_action implemented: Special shortcuts.

提交回复
热议问题