From 31fd9a73d7e894c918be9fcecd1961fcdcc309cd Mon Sep 17 00:00:00 2001 From: Libor Polčák Date: Apr 29 2022 08:23:03 +0000 Subject: Apply CSP for webextension pages See https://pagure.io/JShelter/webextension/issue/38 Note that FPD report requires data to display correct icon --- diff --git a/chrome/manifest.json b/chrome/manifest.json index 041a765..db54e25 100644 --- a/chrome/manifest.json +++ b/chrome/manifest.json @@ -74,6 +74,7 @@ "manifest_version": 2, "name": "JShelter", "options_page": "options.html", + "content_security_policy": "default-src 'self'; img-src 'self' data:", "permissions": [ "storage", "tabs", diff --git a/firefox/manifest.json b/firefox/manifest.json index 3e79ae0..bc4f103 100644 --- a/firefox/manifest.json +++ b/firefox/manifest.json @@ -76,6 +76,7 @@ "page": "options.html", "open_in_tab": true }, + "content_security_policy": "default-src 'self'; img-src 'self' data:", "permissions": [ "storage", "tabs",