B
B
bro-dev2017-07-12 02:10:49
JavaScript
bro-dev, 2017-07-12 02:10:49

How to overcome the connect-src self directive?

I'm trying to execute my js in the console, I get an error. Where is this directive set, how can I override it?

Refused to connect to "" because it violates the following Content Security Policy directive: "connect-src 'self'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2017-07-12
@bro-dev

It is set in the HTTP headers sent from the server.
https://developer.mozilla.org/ru/docs/Web/HTTP/Hea...
To disable, you can install a plugin , for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question