Skip to content

Commit

Permalink
upgrade to manifest v2
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Dec 2, 2012
1 parent 757e2aa commit 97a99c7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
4 changes: 0 additions & 4 deletions WebContent/background.html

This file was deleted.

41 changes: 27 additions & 14 deletions WebContent/manifest.json
@@ -1,18 +1,31 @@
{
"name": "JSONView",
"icons": {
"16": "jsonview16.png",
"48": "jsonview48.png",
"128": "jsonview128.png"},
"version": "0.0.30",
"description": "Validate and view JSON documents",
"options_page": "options.html",
"background_page" : "background.html",
"content_scripts": [{
"matches": ["http://*/*", "https://*/*", "ftp://*/*", "file:///*"],
"js": ["content.js"],
"name": "JSONView",
"icons": {
"16": "jsonview16.png",
"48": "jsonview48.png",
"128": "jsonview128.png"},
"version": "0.0.32",
"description": "Validate and view JSON documents",
"options_page": "options.html",
"background" : {
"scripts": [
"background.js"
]
},
"content_scripts": [{
"matches": ["http://*/*", "https://*/*", "ftp://*/*", "file:///*"],
"js": ["content.js"],
"run_at" : "document_end",
"all_frames" : true
"all_frames" : true
}],
"permissions" : ["contextMenus", "clipboardWrite", "http://*/", "https://*/", "ftp://*/"]
"web_accessible_resources": [
"jsonview.css",
"jsonview-core.css",
"content_error.css",
"options.png",
"close_icon.gif",
"error.gif"
],
"permissions" : ["clipboardWrite", "http://*/", "contextMenus", "https://*/", "ftp://*/"],
"manifest_version": 2
}

0 comments on commit 97a99c7

Please sign in to comment.