pdf.js/extensions/chromium/manifest.json

53 lines
1.0 KiB
JSON
Raw Normal View History

2011-10-19 02:43:43 +09:00
{
"manifest_version": 2,
"name": "PDF Viewer",
"version": "PDFJSSCRIPT_VERSION",
"description": "Uses HTML5 to display PDF files directly in the browser.",
2013-02-17 11:15:01 +09:00
"icons": {
"128": "icon128.png",
"48": "icon48.png",
"16": "icon16.png"
},
2011-10-19 02:43:43 +09:00
"permissions": [
"webRequest", "webRequestBlocking",
"<all_urls>",
"tabs",
"webNavigation",
"storage",
"streamsPrivate"
2011-10-19 02:43:43 +09:00
],
"content_scripts": [{
"matches": [
"http://*/*",
"https://*/*",
"ftp://*/*",
"file://*/*"
],
"js": ["nothing.js"]
}],
"mime_types": [
"application/pdf"
],
"background": {
"page": "pdfHandler.html"
},
"page_action": {
"default_icon": {
"19": "icon19.png",
"38": "icon38.png"
},
"default_title": "Show PDF URL",
"default_popup": "pageActionPopup.html"
},
"incognito": "split",
"web_accessible_resources": [
"getFrameId",
"content/web/viewer.html",
"http:/*",
"https:/*",
"ftp:/*",
"file:/*",
"chrome-extension:/*"
]
2011-10-19 02:43:43 +09:00
}