Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

live demo at http://studio.imageresizing.net/studio.html not functioning in recent Chrome/Firefox due to X-Content-Type-Options: nosniff support added, breaking scripts loading from raw.github.com #9

Closed
jamesmanning opened this issue Jun 5, 2013 · 1 comment

Comments

@jamesmanning
Copy link

Runtime errors in Chrome console:

Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-1.8.2.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/underscore-min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-ui-1.9.1.custom.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.Jcrop.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.jcrop.preview.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/ImageResizer.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.imagestudio.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/jquery.overdraw.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. studio.html:1
Uncaught ReferenceError: $ is not defined 

Background info:

if the traffic to the live demo is low enough, a possible quick fix:

@lilith
Copy link
Member

lilith commented Sep 25, 2013

Thanks, fixed it!

@lilith lilith closed this as completed Sep 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants