Skip to content

Build your personal knowledge base with Trilium Notes

fix(web-clipper): missing permissions

Elian Doran22308a101e9b
diff --git a/apps/web-clipper/manifest.json b/apps/web-clipper/manifest.json
index 70da3d1b1b..fc7e5b9213 100644
--- a/apps/web-clipper/manifest.json
+++ b/apps/web-clipper/manifest.json
@@ -10,15 +10,6 @@
"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",
diff --git a/apps/web-clipper/wxt.config.js b/apps/web-clipper/wxt.config.js
new file mode 100644
index 0000000000..5dd59801a1
--- /dev/null
+++ b/apps/web-clipper/wxt.config.js
@@ -0,0 +1,15 @@
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ manifest: {
+ permissions: [
+ "activeTab",
+ "tabs",
+ "http://*/",
+ "https://*/",
+ "<all_urls>",
+ "storage",
+ "contextMenus"
+ ]
+ }
+});