javascript - 主线程上的 XMLHttpRequest 已弃用

标签 javascript ajax google-chrome

此消息的含义:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

您可能收到一条新消息,该消息会阻止我网站的任何功能?

谢谢

最佳答案

显然,当使用同步 AJAX 请求时会显示此消息。 Synchronous XMLHttpRequest on the main thread is deprecated

关于javascript - 主线程上的 XMLHttpRequest 已弃用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31868842/

相关文章:

jquery - 防止直接访问 JSON Web 服务

google-chrome - 谷歌浏览器 headless 远程调试/json url无响应

php - XMLHttpRequest 对象的打开方法的相对路径

javascript - css 过渡不是通过在同一函数中添加类来触发的

java - 从 servlet 获取 html 到 ajax 是否正确?

javascript - Yii框架: Save uploaded file

google-chrome - 网站在 chrome 中不工作,但在 FF 和 IE 中工作

jquery - 使用 jQuery 删除 select 选项时 Chrome 浏览器中的问题

javascript - 这是否容易受到基于 dom 的 xss 攻击?

javascript - 将 R.filter 和 R.map 重构为 Pointfree 风格的 R.reduce