Does the X-UA Compatible http header actually work for IE9?
问题 I'm working on a web product that may be hosted as an intranet site. I'm trying to find a programmatic way to keep IE9 from slipping into IE9 Compatibility View browser mode, even though 'Display Intranet sites in Compatibility View' may be on. I'm testing with this html page: <!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9" /> <title>Company</title> </head> <body> </body> </html> I've put this in IIS config: <system.webServer> <httpProtocol> <customHeaders>