From e958915985b506e1b0aa4987ab08a04938a23efe Mon Sep 17 00:00:00 2001 From: Mossroy Date: Sun, 22 Aug 2021 15:53:55 +0200 Subject: [PATCH] Add a CSP to allow WASM in Chromium extensions Fixes #751 --- manifest.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifest.json b/manifest.json index 87a101b88..3f00653d5 100644 --- a/manifest.json +++ b/manifest.json @@ -36,6 +36,8 @@ "background": { "scripts": ["webextension/backgroundscript.js"] }, + + "content_security_policy": "script-src 'self' 'wasm-eval';", "author": "mossroy", "homepage_url": "https://www.kiwix.org",