chrome出现MIME type is not executable
来源:互联网 发布:mac pcb软件 编辑:程序博客网 时间:2024/05/05 17:46
chrome出现MIME type is not executable
错误信息: because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
情景: 在一个页面动态引入github上的js文件。问题原因:github动态加载js文件时返回content-type为text/plain,与文件类型.js不匹配,禁止加载。
问题解决:获取js文件转换成script标签可用的地址,如:“ https://raw.githubusercontent.com/* ”,然后取出第一个“.”变为:“ https://rawgithubusercontent.com/*”。
参考:https://code.google.com/p/chromium/issues/detail?id=180007
0 0
- chrome出现MIME type is not executable
- its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- its MIME type ('text/html') is not executable, and strict MIME type checking is enabled(非404)
- Refused to execute script from '*' because its MIME type ('text/plain') is not executable
- Refused to execute script from '....js' because its MIME type ('text/html') is not executable...
- What is MIME type?
- CDT 出现 program is not a recognized executable
- chrome 出现:Your connection is not private NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM
- 出现Access restriction: The type BASE64Encoder is not accessible 错误
- Program is not a recognized executable
- 使用AOP处理注解时出现error Type referred to is not an annotation type:xxx
- MIME TYPE
- Mime-Type
- Mime-Type
- MIME Type
- mime type
- MIME Type
- Mime-type
- Lost Cows POJ
- minhash算法
- tf学习资源
- redis的主从模式
- unity游戏UI多个弹窗采用列表每次只显示一个
- chrome出现MIME type is not executable
- BZOJ 4033 [HAOI2015]树上染色
- smooks报错Error invoking @Initialize method 'initialize'
- codeforces 785D
- 用const修饰函数的参数
- canvas绘制动态机械表
- java中常用的设计模式-单例模式
- CSDN-markdown编辑器
- 设计一个工资类(Salary)--完成各个功能