pdf.js/extensions/chrome/manifest.json
Rob Wu 57e6238a6e Enable Web Worker again in Chrome extension
Previously, Web Workers were not created because of a security
policy which does not respect relaxed privileges.
2013-04-04 13:40:35 +02:00

31 lines
622 B
JSON

{
"manifest_version": 2,
"name": "PDF Viewer",
"version": "PDFJSSCRIPT_VERSION",
"description": "Uses HTML5 to display PDF files directly in Chrome.",
"icons": {
"128": "icon128.png",
"48": "icon48.png",
"16": "icon16.png"
},
"permissions": [
"webRequest", "webRequestBlocking",
"<all_urls>",
"tabs"
],
"content_scripts": [{
"matches": [
"*://*/*.pdf*",
"*://*/*.PDF*"
],
"css": ["hide-xhtml-error.css"]
}],
"background": {
"page": "pdfHandler.html"
},
"web_accessible_resources": [
"patch-worker.js",
"content/*"
]
}