Closed kumarharsh closed 11 years ago
does not work.
Actually, the problem is that the page is linking to the script on raw.github.com, which serves it with a text/plain
MIME type, and a X-Content-Type-Options: nosniff
header, triggering the script to NOT be executed in Chrome 27.
I'll keep looking into the problem...
Found the issue (its a general thing, being implemented by all the browsers soon)
Fixed the demo at http://learnboost.github.io/antiscroll/ which was not working in (atleast) Chrome 27 due to this error:
Refused to execute script from 'https://raw.github.com/LearnBoost/antiscroll/master/antiscroll.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.