IE 11 and Compatibility Mode
-
I have a client who has all their PCs on an Intranet to run internal apps with Internet Explorer. Unfortunately their business app only is compatible up to IE 7. They turned on Compatibility Mode and added the URL for their Intranet. This allows them to use IE11 with their old business app.
Unfortunately Advanced Browser Checker does not think they are using Internet Explorer 11. I’ve added the meta tag <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> to force the browser to render their public website as IE11. That works BUT Advanced Browser Check still thinks the browser is Less than IE9.
I added some temporary rudimentary code to abc-core.php at line 74:
if ( strtolower( $browser[‘short_name’] ) == ‘ie’ ) {
if ( stripos( $user_agent, ‘Trident/7.0’ ) !== false ) {
$version = 11;
}
}
I noticed the Trident/7.0 is only a IE11 thing. So I forced ABC to think IE11 is actually IE11.This works for me. If this looks good, I request a feature request to do something similar on future updates.
Thanks
Dana
- The topic ‘IE 11 and Compatibility Mode’ is closed to new replies.