Refused to execute script from ... because its MIME type () is not executable, and strict MIME type checking is enabled.
There is a good workaround for this, now, by using rawgit.com.
For non-production environments, such as jsFiddle, replace
For production environments, replace
Also note that for production environments, consider targeting a specific
tag - not the
branch, to ensure you're getting the specific version of the file that you expect, rather than the
head version, which will change over time.
Why is this needed?
GitHub started using
X-Content-Type-Options: nosniff, which instructs more modern browsers to enforce strict MIME type checking. It then returns the raw files in a MIME type returned by the server - preventing the browser from using the file as-intended (if the browser honors the setting).
For background on this topic, please refer to this discussion thread.