Can I force IE9 *from the user side* to operate in quirks/standards mode?

我的梦境 提交于 2019-12-11 14:59:38

问题


I've looked at a dozen different "force IE9 quirks/standards mode" questions, and none of them answer what I'm trying to find out.

I want to force the IE9 that's installed on my Windows machine to use quirks mode (or IE9 Standards Mode, or whatever mode). How do I do this IN THE BROWSER SETTINGS?

That's right: I DO NOT want to know how to change page HTML to tell the browser to operate in mode X or Y. (I already know how to do that!) I want to configure MY browser to always view everything it sees in mode X or Y, even on pages I don't control the source for. Can this be done?


回答1:


Use the registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]

Add the following name:

iexplore.exe

Give it a value of 5,7, or 8 to force each respective mode.

References

  • Feature Controls: Browser Emulation
  • Understanding Compatibility Modes


来源:https://stackoverflow.com/questions/17225812/can-i-force-ie9-from-the-user-side-to-operate-in-quirks-standards-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!