| { |
| "name": "Sample Extension Commands extension", |
| "description": "Press Ctrl+Shift+F to open the browser action popup, press Ctrl+Shift+Y to send an event.", |
| "version": "1.0", |
| "manifest_version": 2, |
| "background": { |
| "scripts": ["background.js"], |
| "persistent": false |
| }, |
| "browser_action": { |
| "default_popup": "browser_action.html" |
| }, |
| "commands": { |
| "toggle-feature": { |
| "suggested_key": { |
| "default": "Ctrl+Shift+Y", |
| "mac": "MacCtrl+Shift+Y" |
| }, |
| "description": "Send a 'toggle-feature' event to the extension" |
| }, |
| "_execute_browser_action": { |
| "suggested_key": { |
| "default": "Ctrl+Shift+F", |
| "mac": "MacCtrl+Shift+F" |
| } |
| } |
| } |
| } |