I'm using Quick.gallery () script on my website but I'm getting some erros with Firebug:
When I try to access .php, Firebug show me some erros like "js=js_viewer was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff)."
Can anybody help me on this?
I'm using Quick.gallery (http://quick.gallery) script on my website but I'm getting some erros with Firebug:
When I try to access http://www.portaloficial.com.br/fotos.php, Firebug show me some erros like "js=js_viewer was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff)."
Can anybody help me on this?
Share Improve this question asked Aug 6, 2017 at 5:11 Rodrigo LinkwebRodrigo Linkweb 1011 gold badge1 silver badge11 bronze badges 2 |1 Answer
Reset to default 21I had this issue before, when I was referencing a mistyped URL, so the reason for content-type html was, that I actually got a HTTP 404 error page.
Content-Type text/html; charset=UTF-8
- scripts aren'ttext/html
- they should betext/javascript; charset=UTF-8
- not sure why your server is doing that – Jaromanda X Commented Aug 6, 2017 at 5:23