OLD | NEW |
1 { | 1 { |
2 "name" : "Page action by content", | 2 "name" : "Page action by content", |
3 "version" : "1.0", | 3 "version" : "1.0", |
4 "description" : "Shows a page action for HTML pages containing the word 'sandw
ich'", | 4 "description" : "Shows a page action for HTML pages containing the word 'sandw
ich'", |
5 "background_page" : "background.html", | 5 "background_page" : "background.html", |
6 "page_action" : | 6 "page_action" : |
7 { | 7 { |
8 "default_icon" : "sandwich-19.png", | 8 "default_icon" : "sandwich-19.png", |
9 "default_title" : "There's a 'sandwich' in this page!" | 9 "default_title" : "There's a 'sandwich' in this page!" |
10 }, | 10 }, |
11 "content_scripts" : [ | 11 "content_scripts" : [ |
12 { | 12 { |
13 "matches" : [ | 13 "matches" : [ |
14 "http://*/*", | 14 "http://*/*", |
15 "https://*/*" | 15 "https://*/*" |
16 ], | 16 ], |
17 "js" : ["contentscript.js"], | 17 "js" : ["contentscript.js"], |
18 "run_at" : "document_idle", | 18 "run_at" : "document_idle", |
19 "all_frames" : false | 19 "all_frames" : false |
20 } | 20 } |
21 ], | 21 ], |
22 "icons" : { | 22 "icons" : { |
23 "48" : "sandwich-48.png", | 23 "48" : "sandwich-48.png", |
24 "128" : "sandwich-128.png" | 24 "128" : "sandwich-128.png" |
25 } | 25 }, |
| 26 "content_security_policy": "default-src 'self'" |
26 } | 27 } |
OLD | NEW |