DocHub - Sign PDF from Gmail
Sign and edit PDF documents
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "DocHub - Sign PDF from Gmail",
"version": "2.0.0",
"description": "Sign and edit PDF documents",
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"128": "images/icon-128.png",
"256": "images/icon-256.png"
},
"default_locale": "en",
"permissions": [
"storage",
"activeTab"
],
"options_ui": {
"page": "options.html"
},
"action": {
"default_icon": {
"16": "images/icon-16.png",
"24": "images/icon-24.png",
"32": "images/icon-32.png"
},
"default_title": "DocHub",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"https://mail.google.com/mail/*"
],
"js": [
"js/vendor.js",
"js/continually-wait-until-exists.js",
"js/cs-gmail.js"
],
"css": [
"styles/introjs.min.css",
"styles/gmail.css"
],
"run_at": "document_end"
},
{
"matches": [
"*://*/*.pdf"
],
"js": [
"js/vendor.js",
"js/continually-wait-until-exists.js",
"js/cs-pdf-viewer.js"
],
"css": [
"styles/pdf-viewer.css"
],
"all_frames": true,
"run_at": "document_end"
},
{
"matches": [
"https://dochub.com/*",
"https://production.dochub.com/*",
"https://staging.dochub.com/*",
"https://testing.dochub.com/*",
"https://localhost:9292/*",
"https://localhost:4200/*"
],
"js": [
"js/continually-wait-until-exists.js",
"js/cs-dochub-website.js"
],
"run_at": "document_start"
}
],
"background": {
"service_worker": "js/background.js"
},
"web_accessible_resources": [
{
"resources": [
"blank.html",
"js/dh-launcher.js",
"/images/*"
],
"matches": [
"<all_urls>",
"file://*/*"
]
}
],
"host_permissions": [
"<all_urls>"
],
"externally_connectable": {
"matches": [
"https://localhost:9292/*",
"https://localhost:4200/*",
"https://dochub.com/*",
"https://production.dochub.com/*",
"https://staging.dochub.com/*",
"https://testing.dochub.com/*"
]
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' https://dochub.com https://staging.dochub.com https://testing.dochub.com https://*.google.com https://localhost:9292/ https://localhost:4200/"
}
}