I'm developing a Chrome extension where I load a javascript file from external domain to which I have no access. This javascript in it's turn loads another javascript with relative protocol method //exemple.com/javascript.js. And the problem is: I get an error
Failed to load resource: net::ERR_FAILED chrome-extension://exemple.com/javascript.js
P.S. My manifest looks like this "content_security_policy": "script-src 'self' https://example.com 'unsafe-eval'; object-src 'self' https://example.com"
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/ceb840e1-55e8-4ce8-9dd9-1ef6c284ec96%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
You will have to change the relative protocol to an explicit protocol.
☆PhistucK
On Mon, Sep 1, 2014 at 3:12 PM, Yervand Khalapyan <erva...@gmail.com> wrote:
I'm developing a Chrome extension where I load a javascript file from external domain to which I have no access. This javascript in it's turn loads another javascript with relative protocol method
//exemple.com/javascript.js. And the problem is: I get an errorFailed to load resource: net::ERR_FAILED chrome-extension://exemple.com/javascript.js
P.S. My manifest looks like this
"content_security_policy": "script-src 'self' https://example.com 'unsafe-eval'; object-src 'self' https://example.com"
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/9ac1d0fa-c4dd-45e4-ad1f-8be83700318d%40chromium.org.