Forum Discussion

jorgesimoes1983's avatar
jorgesimoes1983
Regular Contributor
11 years ago

Internet Explorer compatibility mode

Hi all!



Does anyone know how to detect if "Internet Explorer" is running in compatibility mode?



How can I accomplish this?



Thanks!
  • Hi Jorge,



    According to this info, you can determine the compatibility mode using:


    • Page.contentDocument.documentMode,


    • Page.contentDocument.compatMode, and


    • Page.contentDocument.parentWindow.navigator.userAgent.


  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi Jorge,



    According to this info, you can determine the compatibility mode using:


    • Page.contentDocument.documentMode,


    • Page.contentDocument.compatMode, and


    • Page.contentDocument.parentWindow.navigator.userAgent.