Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35045
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Detecting IE11 ? |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <3120d5a3-6a6a-4a1d-88f5-da7510b252da@googlegroups.com> |
| Date | 2018-05-19 23:25 +0200 |
| Message-ID | <XnsA8E7EE3664D68eejj99@194.109.6.166> (permalink) |
Dr J R Stockton <J.R.Stockton@physics.org> wrote on 19 May 2018 in
comp.lang.javascript:
> 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.
>
> I can detect IE8 and earlier :
> document.getElementById("X").disabled = +(0.007).toFixed(2) == 0
>
> Is there a good way of detecting IE11 - or, better, any IE ?
> Maybe using RegExp \s on some obscure Unicode pseudo-space
> character?
>
> Perhaps using (1.255).toFixed(2) where apparently only IE
> gives the ideal answer?
Why would you want to detect the browser?
Methinks the ideal answer is detecting where or why it fails,
and acting upon that.
Perhaps even the failure itself will do,
where you do not need an earlier warning?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
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