Hey Barry,
thanks for your superfast response.
So header on the JSON-php-script are
header("Access-Control-Allow-Origin: *");
header("content-type: application/json");
I use safari (and also used Firefox to check) and the errors are:
- Unable to post message to https://supervisor.ext-twitch.tv. Recipient has origin https://www.twitch.tv.
- Refused to execute a script because ‘unsafe-eval’ does not appear in the script-src directive of the Content Security Policy. (which points to: mTimer = setTimeout(‘loadJSON();’,500)
Regarding error-/success-codes:
- I don’t get any response for the json-php