使用方法: 直接在前端文件引入
<script type="text/javascript" src=" https://rawgit.com/Cevenquan/jqtools/master/logincheck-tools.js"> </script>引用报错: Refused to execute script from because its MIME type (text/plain) is not executable, and strict MIME type checking is enabled 解决方案: 将上面的链接中的raw.githubusercontent.com换成rawgit.com即可,此例中的网址最终为https://rawgit.com/androidyue/weekly-scripts/master/javascript/target_blank_link.js