| OLD | NEW |
| 1 { | 1 { |
| 2 "name": "Cross-domain XMLHttpRequest from a content script", | 2 "name": "Content Script Cross-Domain XMLHttpRequest Example", |
| 3 "version": "1.0.0", | 3 "version": "2.0.0", |
| 4 "description": "Demonstrates a method to make a cross-domain XMLHttpRequest fe
tch from a content script. This extension fetches the current trending topics f
rom Twitter and inserts them in an overlay at the top of Google News. Visit htt
p://news.google.com to test this extension.", | 4 "description": "Demonstrates making cross domain requests from a content scrip
t by putting Twitter trends on Google News.", |
| 5 "permissions": [ | 5 "permissions": [ |
| 6 "http://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 "background_page" : "background.html", | |
| 13 "content_scripts": [ | 12 "content_scripts": [ |
| 14 { | 13 { |
| 15 "matches": ["http://news.google.com/*"], | 14 "matches": ["http://news.google.com/*"], |
| 16 "js" : ["contentscript.js"] | 15 "js" : ["contentscript.js"] |
| 17 } | 16 } |
| 18 ] | 17 ] |
| 19 } | 18 } |
| OLD | NEW |