moski / gist-Blogger

Adding Gist support to blogger dynamic view
http://blog.moski.me/2012/01/gist-with-bloggers-dynamic-views.html
85 stars 52 forks source link

Error in Chrome 35.0.1.1883.0 dev-m #5

Open ChrisCarini opened 10 years ago

ChrisCarini commented 10 years ago

Chrome Console Displays: Refused to execute script from 'https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

Searching for a fix lead me here: http://stackoverflow.com/questions/17341122/link-and-execute-external-javascript-file-hosted-on-github

Which lead me here: https://github.com/blog/1482-

Turns out it can't be linked to the github hosted version; self hosting the two js files (and modifying the link in the loader.js file) fixed the issue for me.

hanxue commented 10 years ago

Is it possible to serve gistLoader.js from Github Pages instead?