简体   繁体   English

脚本类型在类型之前添加不需要的字符串

[英]Script type unwanted string added before type

Here in my html I used like below 在我的html中,我像下面这样使用

<script type="text/javascript" src='https://www.example.com/js/jquery/jquery.js?ver=1.12.4'></script>

But in my view when I try to see page source it becomes 但是在我看来,当我尝试查看页面源代码时

<script type="70b8453d7dd98ccaf7071668-text/javascript" src='https://www.example.com/js/jquery/jquery.js?ver=1.12.4'></script>

How this changing I can't understand type="70b8453d7dd98ccaf7071668- 我无法理解这种变化如何type =“ 70b8453d7dd98ccaf7071668-

Please suggest 请建议

Plugins Are you using any kind of caching/asset optimization plugins? 插件您是否使用任何类型的缓存/资产优化插件? If yes try disabling them and then check. 如果是,请尝试禁用它们,然后检查。


Modules Check your server settings. 模块检查服务器设置。 See if you have any modules enabled. 查看是否启用了任何模块。 Such as Google Pagespeed module Google Pagespeed模块


Browser extension Maybe it is an extension fiddling with your DOM. 浏览器扩展也许是与您的DOM相对应的扩展。 Try checking the source in a different browser. 尝试在其他浏览器中检查源。


Share the entire page source code if none of these solutions work. 如果这些解决方案都不起作用,请共享整个页面源代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 type script 类型参数 &#39;{ type: string[]; }&#39; 不可分配给“BlobPropertyBag”类型的参数 - type script Argument of type '{ type: string[]; }' is not assignable to parameter of type 'BlobPropertyBag' 添加到变量属性的字符串的类型是什么? - What is the type of a string added to a property of a variable? Javascript 不需要的数据类型切换 - Javascript Unwanted Data Type Switching 泛型类型是类型脚本 - Generic type is type script 在运行下一个脚本之前等待 type="module" 的脚本完成 - Wait for scripts with type="module" to finish before running the next script 输入类型文件上方的多余空间 - Unwanted space above Input-type File Google App脚本缓存数据类型以及如何转换为字符串 - Google App Script Cache data type and how to convert to string Firefox中Greasemonkey脚本中的JavaScript类型强制和字符串连接问题 - Problem with type coercion and string concatenation in JavaScript in Greasemonkey script on Firefox 警告:提供的 `src` 属性是不受支持的类型 ImageUrlBuilder。 在此处使用之前,必须将此值强制转换为字符串 - Warning: The provided `src` attribute is an unsupported type ImageUrlBuilder. This value must be coerced to a string before before using it here "类型错误:类型“字符串”不可分配给类型“颜色”" - Type error: Type 'string' is not assignable to type 'Colors'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM