github.com 有提供 raw 存取方式,但其 content type 並僅 text/plain 而已,這會影響 Javascript 的使用。幸運的,github.com 有提供 text/javascript 的存取方式

例如原先 raw 網址:

<script type="text/javascript" src="https://raw.github.com/changyy/note/master/new-site-url/url.js"></script>

僅需改成:

<script type="text/javascript" src="https://rawgithub.com/changyy/note/master/new-site-url/url.js"></script>

即可處理 content type 問題 :)