add command shortcuts & menu command

This commit is contained in:
Gabe Yuan
2023-08-21 14:03:39 +08:00
parent 6b30f443e1
commit 3c3ebdf96c
9 changed files with 54 additions and 1 deletions

View File

@@ -16,6 +16,14 @@
"matches": ["<all_urls>"]
}
],
"commands": {
"toggleTranslate": {
"suggested_key": {
"default": "Alt+Q"
},
"description": "__MSG_toggle_translate__"
}
},
"permissions": ["storage"],
"host_permissions": ["<all_urls>"],
"icons": {