Skip to content

Commit

Permalink
[IMP] devtools: add support for file urls on chrome
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
juliusc2066 committed Sep 18, 2024
1 parent f502dd7 commit f2e0877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/devtools/manifest-chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f2e0877

Please sign in to comment.