internet-explorer - X-UA 兼容 IE=10 不能在 EDGE 上运行
问题描述
我正在使用与 EDGE 不兼容的库,因此我正在尝试将文档模式更改为 IE10。我已经申请
httpReponse.setHeader("X-UA-Compatible", "IE=10");
它适用于所有人,但在 Edge 中仍然无法正常工作。文档模式在 Edge 浏览器中仍然是 Edge。请建议我是否遗漏任何东西。
解决方案
Please check this article X-UA-Compatibility Meta Tag and HTTP Response Header
The X-UA-Compatibility Meta Tag and HTTP Response Header will not be implemented in any version of Microsoft Edge.
推荐阅读
- android - Android 离线运行仪器测试
- java - 如何检测 LibGDX 中对象之间的碰撞
- python - 我无法通过 pip 安装 TensorFlow 1.15 版
- rust - 即使使用 ::from 我得到预期的类型参数 A 错误
- ruby-on-rails - 如何在 form_with Rails 中显示错误
- python - Python pandas read_excel缺少行
- angular - 每次我关闭和打开应用程序时都会加载 Ionic 4 主页
- python - 在 Python 中下载大型数据集的最佳方法是什么?
- database - 这个例子是否违反星型模式?
- javascript - 使用新行发布内容时出现 CryptoJS 错误