Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35100
| From | Ross McKay <au.net.webaware.rosko@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Detecting IE11 ? |
| Date | 2018-05-23 08:36 +1000 |
| Organization | A noiseless patient Spider |
| Message-ID | <4f69gdttnchbis17h23o7p9nek1539703i@4ax.com> (permalink) |
| References | <3120d5a3-6a6a-4a1d-88f5-da7510b252da@googlegroups.com> |
Dr J R Stockton wrote: >I may need to detect Internet Explorer, since I use an external >script which, as I use it, fails in IE8 & IE11 (and, I suppose, >in other IE). That script works, as I use it, in Chrome, Edge, >Firefox, Opera, Vivaldi - in Windows XP, 7, 10. [...] You can check for document.documentMode which IE browsers use to signal in which compatibility they are operating. Pretty sure it isn't supported by Edge. https://docs.microsoft.com/en-us/internet-explorer/ie11-deploy-guide/deprecated-document-modes That will give you IE8-IE11. If you need to rule out earlier IE also, check for document.documentElement.filters as well. cheers, Ross -- Ross McKay, Toronto, NSW Australia "The chief cause of problems is solutions" -Eric Sevareid
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Detecting IE11 ? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-05-19 13:59 -0700
Re: Detecting IE11 ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-19 23:25 +0200
Re: Detecting IE11 ? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-05-20 08:35 -0700
Re: Detecting IE11 ? JJ <jj4public@vfemail.net> - 2018-05-20 18:41 +0700
Re: Detecting IE11 ? Ross McKay <au.net.webaware.rosko@invalid.invalid> - 2018-05-23 08:36 +1000
Re: Detecting IE11 ? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-05-23 14:32 -0700
Re: Detecting IE11 ? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2018-05-23 15:16 -0700
Re: Detecting IE11 ? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-05-24 21:44 +0200
Re: Detecting IE11 ? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2018-05-31 23:27 -0700
Re: Detecting IE11 ? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-06-01 03:19 -0700
Re: Detecting IE11 ? Joao Rodrigues <jr@yahoo.com> - 2018-05-23 23:52 -0300
Re: Detecting IE11 ? Jon Ribbens <jon+usenet@unequivocal.eu> - 2018-05-24 15:32 +0000
Re: Detecting IE11 ? Joao Rodrigues <jr@yahoo.com> - 2018-05-24 15:59 -0300
Re: Detecting IE11 ? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-07-15 00:40 +0200
csiph-web