Skip to content

Commit 3161c3f

Browse files
authored
✨: add a shortcut to activate the toolbar button for Firefox mv2 (#717)
1 parent 75eeb2d commit 3161c3f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build/pack.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ firefoxManifest.browser_specific_settings = {
7676
},
7777
};
7878

79+
// 为 Firefox 添加激活工具栏按钮的快捷键
80+
firefoxManifest.commands = {
81+
_execute_browser_action: {},
82+
};
83+
7984
const chrome = new JSZip();
8085
const firefox = new JSZip();
8186

0 commit comments

Comments
 (0)