OLD | NEW |
1 { | 1 { |
2 "name": "A browser action with no icon that makes the page red", | 2 "name": "A browser action with no icon that makes the page red", |
3 "version": "1.0", | 3 "version": "1.0", |
4 "manifest_version": 2, | 4 "manifest_version": 2, |
5 "background": { | 5 "background": { |
6 "scripts": ["background.js"] | 6 "scripts": ["background.js"] |
7 }, | 7 }, |
8 "permissions": [ | 8 "permissions": [ |
9 "tabs", "http://*/*", "experimental", "commands" | 9 "tabs", "http://*/*", "experimental", "commands" |
10 ], | 10 ], |
11 "browser_action": { | 11 "browser_action": { |
12 "default_title": "Make this page red", | 12 "default_title": "Make this page red", |
13 "default_icon": "icon.png" | 13 "default_icon": "icon.png" |
14 }, | 14 }, |
15 "commands": { | 15 "commands": { |
16 "toggle-feature": { | 16 "toggle-feature": { |
17 "suggested_key": { | 17 "suggested_key": { |
18 "windows": "Ctrl+Shift+Y", | 18 "windows": "Ctrl+Shift+Y", |
19 "mac": "Command+Shift+Y", | 19 "mac": "Ctrl+Shift+Y", |
20 "linux": "Ctrl+Shift+Y", | 20 "linux": "Ctrl+Shift+Y", |
21 "chromeos": "Ctrl+Shift+Y", | 21 "chromeos": "Ctrl+Shift+Y", |
22 "default": "Ctrl+Shift+Y" | 22 "default": "Ctrl+Shift+Y" |
23 }, | 23 }, |
24 "description": "Toggle feature foo" | 24 "description": "Toggle feature foo" |
25 }, | 25 }, |
26 "_execute_browser_action": { | 26 "_execute_browser_action": { |
27 "suggested_key": { | 27 "suggested_key": { |
28 "mac": "Command+Shift+F", | |
29 "default": "Ctrl+Shift+F" | 28 "default": "Ctrl+Shift+F" |
30 } | 29 } |
31 } | 30 } |
32 } | 31 } |
33 } | 32 } |
OLD | NEW |