Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Denis McMahon Newsgroups: comp.lang.javascript Subject: Re: Detection of devices using JavaScript Date: Thu, 15 May 2014 16:27:38 +0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 15 May 2014 16:27:38 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="11737"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QLvJsVFW9jtyTNdDd30Zfu+tsjXfJyg4=" User-Agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2) Cancel-Lock: sha1:X7dzbiUfWc3zWZOLJjzPPv6yqAU= Xref: csiph.com comp.lang.javascript:24171 On Thu, 15 May 2014 02:32:25 -0700, Sithu.D wrote: > I need to find a way to detect the type of device and os calling an API > using JavaScript. I preferable need to do this in some way more reliable > than detecting the User Agent. Any ideas please? Is this javascript operating inside a web browser, or is it a script interpreter embedded in some other application? -- Denis McMahon, denismfmcmahon@gmail.com