mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 23:14:24 +01:00
- Complete Manifest V3 conversion for Chrome extension future compatibility - Add progressive status notifications with real-time feedback - Optimize performance with non-blocking async operations - Convert to ES module architecture with service worker - Replace browser.* APIs with chrome.* throughout - Add smart content script injection (dynamic, only when needed) - Enhance error handling with graceful degradation - Preserve all existing functionality while improving UX - Faster save operations with clean error-free console logs Breaking Changes: None - fully backward compatible Performance: Significantly improved save operation speed UX: Added real-time status updates during save operations
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Trilium Web Clipper (dev)",
|
|
"version": "1.0.1",
|
|
"description": "Save web clippings to Trilium Notes.",
|
|
"homepage_url": "https://github.com/zadam/trilium-web-clipper",
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self'; object-src 'self'"
|
|
},
|
|
"icons": {
|
|
"32": "icons/32.png",
|
|
"48": "icons/48.png",
|
|
"96": "icons/96.png"
|
|
},
|
|
"permissions": [
|
|
"activeTab",
|
|
"tabs",
|
|
"storage",
|
|
"contextMenus",
|
|
"scripting"
|
|
],
|
|
"host_permissions": [
|
|
"http://*/",
|
|
"https://*/"
|
|
],
|
|
"action": {
|
|
"default_icon": "icons/32.png",
|
|
"default_title": "Trilium Web Clipper",
|
|
"default_popup": "popup/popup.html"
|
|
},
|
|
"content_scripts": [],
|
|
"background": {
|
|
"service_worker": "background.js",
|
|
"type": "module"
|
|
},
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["lib/*", "utils.js", "trilium_server_facade.js", "content.js"],
|
|
"matches": ["<all_urls>"]
|
|
}
|
|
],
|
|
"options_ui": {
|
|
"page": "options/options.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"
|
|
}
|
|
}
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "{1410742d-b377-40e7-a9db-63dc9c6ec99c}"
|
|
}
|
|
}
|
|
}
|