In order to bypass the Display intranet sites in Compatibility View setting in the IE > Compatibility View Settings, you can set the following <meta>
tag as high as possible in the <head>
section.
<meta http-equiv ="X-UA-Compatible" content ="IE=edge">