mirror of
https://github.com/zadam/trilium.git
synced 2026-01-31 02:44:24 +01:00
chore(web-clipper): integrate old manifest
This commit is contained in:
parent
1fb360e34f
commit
a2a37a0b54
@ -1,36 +0,0 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"version": "1.0.1",
|
||||
"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"
|
||||
},
|
||||
"browser_action": {
|
||||
"default_icon": "icons/32.png",
|
||||
"default_title": "Trilium Web Clipper",
|
||||
"default_popup": "popup/popup.html"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"saveCroppedScreenshot": {
|
||||
"description": "Take a cropped screenshot of the current page",
|
||||
"suggested_key": {
|
||||
"default": "Ctrl+Shift+E"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@triliumnext/web-clipper",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@ -5,6 +5,7 @@ export default defineConfig({
|
||||
manifest: {
|
||||
name: "Trilium Web Clipper",
|
||||
description: "Save web clippings to Trilium Notes.",
|
||||
homepage_url: "https://docs.triliumnotes.org/user-guide/setup/web-clipper",
|
||||
permissions: [
|
||||
"activeTab",
|
||||
"tabs",
|
||||
@ -19,6 +20,26 @@ export default defineConfig({
|
||||
gecko: {
|
||||
id: "{1410742d-b377-40e7-a9db-63dc9c6ec99c}"
|
||||
}
|
||||
},
|
||||
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"
|
||||
}
|
||||
},
|
||||
saveCroppedScreenshot: {
|
||||
description: "Take a cropped screenshot of the current page",
|
||||
suggested_key: {
|
||||
default: "Ctrl+Shift+E"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user