2011-10-18 19:43:43 +02:00
|
|
|
{
|
2024-09-02 04:07:56 +02:00
|
|
|
"minimum_chrome_version": "103",
|
2024-09-02 01:34:25 +02:00
|
|
|
"manifest_version": 3,
|
2012-09-06 08:33:07 -07:00
|
|
|
"name": "PDF Viewer",
|
|
|
|
"version": "PDFJSSCRIPT_VERSION",
|
2013-08-21 18:11:35 +02:00
|
|
|
"description": "Uses HTML5 to display PDF files directly in the browser.",
|
2013-02-16 23:15:01 -03:00
|
|
|
"icons": {
|
|
|
|
"128": "icon128.png",
|
|
|
|
"48": "icon48.png",
|
|
|
|
"16": "icon16.png"
|
|
|
|
},
|
2011-10-18 19:43:43 +02:00
|
|
|
"permissions": [
|
2024-09-01 22:54:49 +02:00
|
|
|
"alarms",
|
2024-09-01 01:02:13 +02:00
|
|
|
"declarativeNetRequestWithHostAccess",
|
2012-02-13 20:23:31 +01:00
|
|
|
"webRequest",
|
2013-07-17 18:57:18 +02:00
|
|
|
"tabs",
|
2013-08-13 18:28:13 +02:00
|
|
|
"webNavigation",
|
2016-05-09 22:49:47 +02:00
|
|
|
"storage"
|
2011-10-18 19:43:43 +02:00
|
|
|
],
|
2024-09-02 01:34:25 +02:00
|
|
|
"host_permissions": ["<all_urls>"],
|
2013-04-04 00:28:45 +02:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
2024-08-25 20:34:03 +02:00
|
|
|
"matches": ["http://*/*", "https://*/*", "file://*/*"],
|
2014-01-26 00:33:06 +01:00
|
|
|
"run_at": "document_start",
|
2014-05-05 14:20:36 +02:00
|
|
|
"all_frames": true,
|
|
|
|
"css": ["contentstyle.css"],
|
2014-01-26 00:33:06 +01:00
|
|
|
"js": ["contentscript.js"]
|
2013-04-04 00:28:45 +02:00
|
|
|
}
|
|
|
|
],
|
2024-09-15 12:58:38 +02:00
|
|
|
"content_security_policy": {
|
|
|
|
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
|
|
|
|
},
|
2014-07-24 23:19:17 +02:00
|
|
|
"storage": {
|
|
|
|
"managed_schema": "preferences_schema.json"
|
|
|
|
},
|
2015-01-06 18:22:35 +01:00
|
|
|
"options_ui": {
|
2024-09-01 20:38:47 +02:00
|
|
|
"page": "options/options.html"
|
2015-01-06 18:22:35 +01:00
|
|
|
},
|
|
|
|
"options_page": "options/options.html",
|
2012-09-05 22:52:17 -07:00
|
|
|
"background": {
|
2024-09-02 01:34:25 +02:00
|
|
|
"service_worker": "background.js"
|
2013-04-04 00:28:45 +02:00
|
|
|
},
|
2013-10-01 22:16:28 +02:00
|
|
|
"incognito": "split",
|
2013-04-04 00:28:45 +02:00
|
|
|
"web_accessible_resources": [
|
2024-09-02 01:34:25 +02:00
|
|
|
{
|
|
|
|
"resources": [
|
|
|
|
"content/web/viewer.html",
|
|
|
|
"http:/*",
|
|
|
|
"https:/*",
|
|
|
|
"file:/*",
|
|
|
|
"chrome-extension:/*",
|
|
|
|
"blob:*",
|
|
|
|
"data:*",
|
|
|
|
"filesystem:/*",
|
|
|
|
"drive:*"
|
|
|
|
],
|
|
|
|
"matches": ["<all_urls>"],
|
|
|
|
"extension_ids": ["*"]
|
|
|
|
}
|
2013-04-04 00:28:45 +02:00
|
|
|
]
|
2011-10-18 19:43:43 +02:00
|
|
|
}
|