Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json

Issue 7210049: Update contentscript xhr example to remove background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebuilding docs Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698