OLD | NEW |
1 { | 1 { |
2 "name": "Content Script Cross-Domain XMLHttpRequest Example", | 2 "name": "Content Script Cross-Domain XMLHttpRequest Example", |
3 "version": "2.0.0", | 3 "version": "2.0.0", |
4 "description": "Demonstrates making cross domain requests from a content scrip
t by putting Twitter trends on Google News.", | 4 "description": "Demonstrates making cross domain requests from a content scrip
t by putting Twitter trends on Google News.", |
5 "permissions": [ | 5 "permissions": [ |
6 "https://api.twitter.com/*" | 6 "https://api.twitter.com/*" |
7 ], | 7 ], |
8 "icons": { | 8 "icons": { |
9 "48" : "sample-48.png", | 9 "48" : "sample-48.png", |
10 "128" : "sample-128.png" | 10 "128" : "sample-128.png" |
11 }, | 11 }, |
12 "content_scripts": [ | 12 "content_scripts": [ |
13 { | 13 { |
14 "matches": ["http://news.google.com/*"], | 14 "matches": ["http://news.google.com/*"], |
15 "js" : ["contentscript.js"] | 15 "js" : ["contentscript.js"] |
16 } | 16 } |
17 ] | 17 ], |
| 18 "content_security_policy": "default-src 'self' https://api.twitter.com http://
news.google.com" |
18 } | 19 } |
OLD | NEW |