From df0f09a0faf8bf54ed9906e0ad8ef16114cb2dc5 Mon Sep 17 00:00:00 2001 From: Timo Hubois Date: Thu, 7 Nov 2024 17:29:26 +0100 Subject: [PATCH] feat(manifest.json): add content_security_policy --- manifest.json | 72 ++++++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/manifest.json b/manifest.json index bb18990..8d0b004 100644 --- a/manifest.json +++ b/manifest.json @@ -1,35 +1,41 @@ { - "manifest_version": 3, - "name": "Add Harvest Button to monday.com", - "description": "Adds a Harvest button to pulses on monday.com", - "version": "0.0.0.2", - "author": "Timo Hubois", - "icons": { - "16": "public/icon16.png", - "48": "public/icon48.png", - "128": "public/icon128.png" + "manifest_version": 3, + "name": "Add Harvest Button to monday.com", + "description": "Adds a Harvest button to pulses on monday.com", + "version": "0.0.0.3", + "author": "Timo Hubois", + "icons": { + "16": "public/icon16.png", + "48": "public/icon48.png", + "128": "public/icon128.png" + }, + "permissions": [ + "tabs", + "storage" + ], + "action": { + "default_popup": "popup.html", + "default_title": "Harvest" + }, + "content_scripts": [ + { + "matches": [ + "https://*/*" + ], + "js": [ + "scripts/popup.js" + ] }, - "permissions" : ["tabs", "storage"], - "action": { - "default_popup": "popup.html", - "default_title": "Harvest" - }, - "content_scripts": [ - { - "matches": [ - "https://*/*" - ], - "js": [ - "scripts/popup.js" - ] - }, - { - "matches": [ - "https://*.monday.com/*" - ], - "js": [ - "scripts/main.js" - ] - } - ] - } \ No newline at end of file + { + "matches": [ + "https://*.monday.com/*" + ], + "js": [ + "scripts/main.js" + ] + } + ], + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + } +} \ No newline at end of file