2019-07-19 20:35:53 +02:00
|
|
|
{
|
|
|
|
"manifest_version": 2,
|
|
|
|
"name": "Trilium Web Clipper (dev)",
|
2022-10-29 15:25:20 +02:00
|
|
|
"version": "1.0.1",
|
2019-07-19 20:35:53 +02:00
|
|
|
"description": "Save web clippings to Trilium Notes.",
|
|
|
|
"homepage_url": "https://github.com/zadam/trilium-web-clipper",
|
|
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
|
|
|
"icons": {
|
|
|
|
"32": "icons/32.png",
|
|
|
|
"48": "icons/48.png",
|
|
|
|
"96": "icons/96.png"
|
|
|
|
},
|
|
|
|
"permissions": [
|
|
|
|
"activeTab",
|
|
|
|
"tabs",
|
|
|
|
"http://*/",
|
|
|
|
"https://*/",
|
|
|
|
"<all_urls>",
|
|
|
|
"storage",
|
|
|
|
"contextMenus"
|
|
|
|
],
|
|
|
|
"browser_action": {
|
|
|
|
"default_icon": "icons/32.png",
|
|
|
|
"default_title": "Trilium Web Clipper",
|
|
|
|
"default_popup": "popup/popup.html"
|
|
|
|
},
|
|
|
|
"content_scripts": [
|
|
|
|
{
|
|
|
|
"matches": [
|
|
|
|
"<all_urls>"
|
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"lib/browser-polyfill.js",
|
|
|
|
"utils.js",
|
|
|
|
"content.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"scripts": [
|
|
|
|
"lib/browser-polyfill.js",
|
|
|
|
"utils.js",
|
|
|
|
"trilium_server_facade.js",
|
|
|
|
"background.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"options_ui": {
|
|
|
|
"page": "options/options.html"
|
|
|
|
},
|
2020-10-07 12:17:31 +08:00
|
|
|
"commands": {
|
|
|
|
"saveSelection": {
|
|
|
|
"description": "Save the selected text into a note",
|
|
|
|
"suggested_key": {
|
|
|
|
"default": "Ctrl+Shift+S"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"saveWholePage": {
|
|
|
|
"description": "Save the current page",
|
|
|
|
"suggested_key": {
|
|
|
|
"default": "Alt+Shift+S"
|
|
|
|
}
|
|
|
|
},
|
2022-10-29 14:55:26 +02:00
|
|
|
"saveCroppedScreenshot": {
|
|
|
|
"description": "Take a cropped screenshot of the current page",
|
2020-10-07 12:17:31 +08:00
|
|
|
"suggested_key": {
|
|
|
|
"default": "Ctrl+Shift+E"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-07-19 20:35:53 +02:00
|
|
|
"browser_specific_settings": {
|
|
|
|
"gecko": {
|
|
|
|
"id": "{1410742d-b377-40e7-a9db-63dc9c6ec99c}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|