Chrome extension failed to load javascript due to url related to protocol
I am developing a Chrome extension where I load a javascript file from an external domain that I don't have access to. This javascript in it loads other javascript with a relative protocol method //exemple.com/javascript.js
. And the problem is I am getting the error
Failed to load resource: net :: ERR_FAILED chrome-extension: //exemple.com/javascript.js
PS My manifest looks like this
"content_security_policy": "script-src 'self' https://example.com 'unsafe-eval'; object-src 'self' https://example.com"
+3
Yervand Khalapyan
source
to share
No one has answered this question yet
Check out similar questions:
2853
2366
1895
29
nine
6
4
2
2
0