I'm getting this error message on my website:
Refused to execute script from 'http://viralsmods.com/scripts/loader.php?sids[]=1&sids[]=3&_=1429706046304' because its MIME type ('image/gif') is not executable.
The script in question is a PHP file that spits out JavaScript with a gif
MIME type for concealment purposes (I understand this is not fool proof, but just a slight deterrent).
Anyways, this has been working fine for me for years and suddenly Chrome is giving me the above error in the developer tools console. Any idea as to why?
X-Content-Type-Options
being set? – epascarelloheader
and it was for the mime type. – Keir Simmonsheader('X-Content-Type-Options:nosniff');
forces the strict MIME type checking. Is there a way to turn nosniff off? – Keir Simmons