OLD | NEW |
---|---|
1 { | 1 { |
2 "name": "Transient Page Example", | 2 "name": "Transient Page Example", |
3 "description": "Demonstrates usage and features of the transient page", | 3 "description": "Demonstrates usage and features of the transient page", |
4 "version": "1.0", | 4 "version": "1.0", |
5 "manifest_version": 2, | 5 "manifest_version": 2, |
6 "permissions": ["tabs", "bookmarks", "experimental", "http://*.google.com/*"], | 6 "permissions": ["tabs", "bookmarks", "experimental", "keybinding", "http://*.g oogle.com/*"], |
Yoyo Zhou
2012/04/24 21:38:15
This is just future-proof because keybindings is s
Matt Perry
2012/04/24 22:37:25
Ah, true. I was just copying the keybinding exampl
| |
7 "background": { | 7 "background": { |
8 "scripts": ["background.js"], | 8 "scripts": ["background.js"], |
9 "transient": true | 9 "transient": true |
10 }, | 10 }, |
11 "browser_action": { | 11 "browser_action": { |
12 "default_icon" : "icon.png", | 12 "default_icon" : "icon.png", |
13 "default_title": "Start Transient Page" | 13 "default_title": "Start Transient Page" |
14 }, | |
15 "commands": { | |
16 "open-google": { | |
17 "description": "Open a tab to google.com", | |
18 "suggested_key": { "default": "Ctrl+Shift+L" } | |
19 }, | |
20 "_execute_browser_action": { | |
21 "suggested_key": { "default": "Ctrl+Shift+K" } | |
22 } | |
14 } | 23 } |
15 } | 24 } |
OLD | NEW |