mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "process.env.EXTENSION_NAME",
|
|
"short_name": "process.env.EXTENSION_NAME",
|
|
"version": "0.1.26",
|
|
"description": "Save articles to your Omnivore library",
|
|
"author": "Omnivore Media, Inc",
|
|
"default_locale": "en",
|
|
"developer": {
|
|
"name": "Omnivore Media, Inc",
|
|
"url": "https://omnivore.app/"
|
|
},
|
|
"homepage_url": "https://omnivore.app/",
|
|
"content_security_policy": "default-src 'none'; child-src 'none'; manifest-src 'none'; media-src 'none'; object-src 'none'; prefetch-src 'none'; worker-src 'none'; connect-src https://storage.googleapis.com/ process.env.OMNIVORE_GRAPHQL_URL blob:; frame-src 'none'; font-src 'none'; img-src data:; script-src 'self'; script-src-elem 'self'; script-src-attr 'none'; style-src 'self'; style-src-elem 'self'; style-src-attr 'none'; base-uri 'none'; form-action 'none'; block-all-mixed-content; upgrade-insecure-requests; report-uri https://api.jeurissen.co/reports/csp/webext/omnivore/",
|
|
"icons": {
|
|
"16": "/images/extension/icon-16.png",
|
|
"24": "/images/extension/icon-24.png",
|
|
"32": "/images/extension/icon-32.png",
|
|
"48": "/images/extension/icon-48.png",
|
|
"96": "/images/extension/icon-96.png",
|
|
"128": "/images/extension/icon-128.png",
|
|
"256": "/images/extension/icon-256.png"
|
|
},
|
|
|
|
"permissions": ["activeTab", "storage", "contextMenus", "https://*/**", "http://*/**"],
|
|
|
|
"background": {
|
|
"page": "/views/background.html",
|
|
"persistent": true
|
|
},
|
|
|
|
"minimum_chrome_version": "21",
|
|
"minimum_opera_version": "15",
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "save-extension@omnivore.app"
|
|
}
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "save-extension@omnivore.app"
|
|
}
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["https://*/**", "http://*/**"],
|
|
"js": [
|
|
"/scripts/constants.js",
|
|
"/scripts/content/page-info.js",
|
|
"/scripts/content/prepare-content.js",
|
|
"/scripts/content/toast.js",
|
|
"/scripts/content/content-listener-script.js"
|
|
]
|
|
},
|
|
{
|
|
"matches": ["https://*/**", "http://*/**"],
|
|
"js": ["/scripts/content/grab-iframe-content.js"],
|
|
"all_frames": true
|
|
}
|
|
],
|
|
|
|
"browser_action": {
|
|
"default_icon": {
|
|
"16": "/images/toolbar/icon-16.png",
|
|
"19": "/images/toolbar/icon-19.png",
|
|
"24": "/images/toolbar/icon-24.png",
|
|
"32": "/images/toolbar/icon-32.png",
|
|
"38": "/images/toolbar/icon-38.png",
|
|
"48": "/images/toolbar/icon-48.png"
|
|
},
|
|
"default_title": "Omnivore Save Article"
|
|
},
|
|
|
|
"commands": {
|
|
"_execute_browser_action": {
|
|
"suggested_key": {
|
|
"default": "Alt + O"
|
|
},
|
|
"description": "Save the current tab to Omnivore"
|
|
}
|
|
},
|
|
|
|
"web_accessible_resources": ["views/cta-popup.html"]
|
|
}
|