From 1272278225e96b5548cd9fda03d08f2ab54f811b Mon Sep 17 00:00:00 2001 From: "Julien Carion (juca)" Date: Wed, 18 Sep 2024 16:17:01 +0200 Subject: [PATCH] [IMP] devtools: add support for file urls on chrome This commit ensures that the hook will properly be loaded on file urls when using chrome (this was already working in firefox). It is still necessary to check the "Allow access to file URLs" option in the extensions manager for this to work properly. --- tools/devtools/manifest-chrome.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devtools/manifest-chrome.json b/tools/devtools/manifest-chrome.json index 6e4e9345..788f54a8 100644 --- a/tools/devtools/manifest-chrome.json +++ b/tools/devtools/manifest-chrome.json @@ -14,7 +14,7 @@ "default_popup": "popup_app/popup.html" }, "permissions": ["scripting", "storage"], - "host_permissions": ["http://*/*", "https://*/*"], + "host_permissions": ["http://*/*", "https://*/*", "file://*"], "content_security_policy": { "script-src": "self", "object-src": "self"