html - Using X-UA-Compatible to emulate IE9 in corporate setup -


i have been reading document type emulating , compatibility mode in ie , have quite bit one's head around.

i have developed app bootstrap 3 , ember rendering few pages controlled through menu.

i tested in browsers, webkit, moz, , ie , seemed perfect. work in large corporate, when decided test on of colleagues' computers, on ie, got blank page. found strange because running ie10 or ie11, although there odd ie9. couldnt understand because renders on ie.

so anyway, started hitting f12 on browsers , realised many of them had ie7 emulating though running ie10 or 11.

i read bit issue, , found following:

<meta http-equiv="x-ua-compatible" content="ie=emulateie9" /> 

so proceeded add line page follow:

<!doctype html> <meta http-equiv="x-ua-compatible" content="ie=emulateie9" /> 

now question this: correct in assuming if there sort of group policy set when using ie @ work, workaround solve issue?

i testing tomorrow morning, wanted know if along right lines?

many people @ work use chrome , firefox or whatever want to, there quite few use ie.

take note there must reason why current group policy set enable compatibility mode (some other intranet app maybe) , other app might stop working (or render badly) if disabled it. if admin have configured in way there's compatibility view list you're in luck because need not include web app's url list.

https://msdn.microsoft.com/en-us/library/ie/gg622935(v=vs.85).aspx

as document mode, suggest use instead:

 <meta http-equiv="x-ua-compatible" content="ie=edge"> 

setting version 'ie=edge' tells internet explorer use latest engine render page , execute javascript.

https://www.modern.ie/en-us/performance/how-to-use-x-ua-compatible

the reason want "ie=emulateie9" app targeting legacy document mode in case isn't since you're using latest web frameworks out there. assume want best ui experience users.

i understand in case ie versions vary , might not support "ie=edge". ok because fallback highest supported document mode. example, ie8 ie=9, ie=edge, or ie=emulateie9 results in ie8 mode.

https://msdn.microsoft.com/en-us/library/ff405771(v=vs.85).aspx


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -