Thread Starter
uriahb
(@uriahb)
Not just an opinion. It might work in some cases, the order the compatibility element appears in the head determines whether it will work or not.
Please see this article for reference:
http://blogs.msdn.com/b/ieinternals/archive/2011/07/18/optimal-html-head-ordering-to-avoid-parser-restarts-redownloads-and-improve-performance.aspx
Specifically this bit:
“this element MUST appear before any script blocks and SHOULD appear as early in the HEAD element as possible”
That’s why I couldn’t use your plugin and had to switch to a solution that sets the value in the header instead. If your goal is maximum compatibility with IE, you might want to consider this approach. Here is the code I ended up using (well at least as a starting point):
https://gist.github.com/chrisguitarguy/2712643