Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. 警告解决方案

有时候,浏览器加载网站,在控制台会出现 jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end users experience. For more help, check https://xhr.spec.whatwg.org/. 的警告,原因是在某个js 脚本中,又额外动态引用了其他 js ...

Continue Reading »
分享到: