Reputation: 13587
This manifest.json
works fine.
"commands": {
"_execute_browser_action": {
"suggested_key": {
"windows": "Alt+S",
"mac": "Alt+S",
"chromeos": "Alt+S",
"linux": "Alt+S"
}
}
},
How do I allow users to reassign shortcuts? I would like to reassign them right from popup. I have created input, which suppose to be filled with a single letter. This letter suppose to replace 'S' in the manifest. How do I save it into manifest or overwrite shortcut?
Upvotes: 1
Views: 32
Reputation: 20508
You can't integrate shortcut changing in your interface, but you can have a button that links to chrome://extensions/configureCommands
Upvotes: 3