Answer the question
In order to leave comments, you need to log in
Ajax request to my server from tampermonkey environment is not executed why?
Hello everyone, I don’t know what to do, on the server the file responsible for returning the script to the Ajax request has the header
header('Access-Control-Allow-Origin: *');
However, I still see the same message in the Chrome browser console
[Report Only] Refused to connect to ' apis.example.ru/extension.php ' because it violates the following Content Security Policy directive: "default-src data: blob: about: 'self' 'unsafe-inline' 'unsafe- eval'https:wss:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question