diff --git a/index.html b/index.html index 6348fad..d2766ed 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + diff --git a/public/background.js b/public/background.js index 2a5405e..e181713 100644 --- a/public/background.js +++ b/public/background.js @@ -1,5 +1,3 @@ -console.log('background.js loaded 55555') - chrome.webRequest.onBeforeRequest.addListener( (details) => { console.log( diff --git a/public/manifest.json b/public/manifest.json index 18e182a..9a1a035 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -10,7 +10,7 @@ "run_at": "document_end" } ], - "host_permissions": ["https://monster-siren.hypergryph.com/*"], + "host_permissions": ["https://monster-siren.hypergryph.com/*", "http://localhost:5173/*"], "icons": { "16": "vite.svg", "48": "vite.svg", @@ -19,5 +19,9 @@ "background": { "service_worker": "background.js" }, - "permissions": ["tabs", "webRequest"] + "permissions": ["tabs", "webRequest"], + "content_security_policy": { + "extension_pages": "default-src 'self'; script-src 'self' http://localhost:5173; style-src 'self' 'unsafe-inline'; connect-src 'self' ws://localhost:5173;", + "sandbox": "sandbox" + } } diff --git a/src/App.vue b/src/App.vue index 40d787c..67a24d8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@