ChromeでGithubのJavascriptファイルのURLを直接書いて実行させようとしたらエラー
Refused to execute script from 'https://raw.github.com/path/to/js.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
どうやらChrome特有のことらしく、セキュリティ対策のためのこと。 けどこのままだとjavascriptは実行されない。 そこでURLを変えてあげる。
https://raw.github.com/path/to/js.js → http://rawgithub.com/path/to/js.js
Githubのファイル直リンさせてるのは俺だけですか、そうですか