• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "Cross-domain XMLHttpRequest from a content script",
3  "version": "1.0.0",
4  "description": "Demonstrates a method to make a cross-domain XMLHttpRequest fetch from a content script.  This extension fetches the current trending topics from Twitter and inserts them in an overlay at the top of Google News.  Visit http://news.google.com to test this extension.",
5  "permissions": [
6    "http://search.twitter.com/*"
7  ],
8  "icons": {
9    "48" : "sample-48.png",
10    "128" : "sample-128.png"
11  },
12  "background_page" : "background.html",
13  "content_scripts": [
14    {
15      "matches": ["http://news.google.com/*"],
16      "js" : ["contentscript.js"]
17    }
18  ]
19}
20