webworm
webworm

Reputation: 11019

Are other browsers affected by browser specific header?

I am having an issue with IE 9 setting itself into "Quirks mode" automatically. To combat this I came across another SO question where an answer suggested that the following header be added (via web.config) to force IE 9 into "Standards mode".

<add name="X-UA-Compatible" value="IE=Edge,chrome=1" />

This indeed worked in that IE 9 rendered the page in "Standards mode". What I am wondering is, by adding this header will other browsers be affected?

Upvotes: 0

Views: 26

Answers (1)

BoltClock
BoltClock

Reputation: 723598

No, X-UA-Compatible is an IE-specific header as far as I am aware. Note that chrome=1 is not a flag for the Chrome browser, but for really old versions of IE (think IE6, IE7) to use the Google Chrome Frame add-on, which itself is now obsolete.

Upvotes: 1

Related Questions