Q:

How to detect IE8 compatibility mode

How do you detect in JavaScript running in an IE8, whether the browser is using compatibility mode or not?

A:

Here's a good example of how to do it. First Google result for "ie compatibility mode js" BTW.

