zippy1978/jquery.scrollz

jQuery Mobile Example won't Load due to "strict MIME type checking is enabled"

Closed this issue · 1 comments

I am using this library and it is working just fine - thanks for the hard work. The jQuery Mobile example (http://dl.dropboxusercontent.com/u/26978903/scrollz/mobile.html) however isn't working when loaded from Chrome on a desktop due to an error:

Refused to execute script from 'https://raw.github.com/zippy1978/jquery.scrollz/master/dist/jquery.scrollz.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. mobile.html:1

Hi,
This actually comes from the fact that the CSS file is directly retrieved from the github sources in the example, but the file is served with the wrong mime type.

It has nothing to do with the code, to make it work : download the sources and use them localy.

Gilles