Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33897
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: detect a phone |
| Date | 2017-08-27 15:15 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2918958.44csPzL39Z@PointedEars.de> (permalink) |
| References | <WoqdnVwVzJe7ozzEnZ2dnUU7-YvNnZ2d@westnet.com.au> <1476139f4sckg$.1gbfz2yz2pha8$.dlg@40tude.net> <eLWdnaoq9vnQaTzEnZ2dnUU7-X3NnZ2d@westnet.com.au> <4031972.LvFx2qVVIh@PointedEars.de> <aKudnboUQ4ui4j_EnZ2dnUU7-VnNnZ2d@westnet.com.au> |
Andrew Poulos wrote: > On 27/08/2017 12:00 PM, Thomas 'PointedEars' Lahn wrote: >> Andrew Poulos wrote: >>> What phone do you have? >> For real, Samsung Galaxy S7. BrowserStack has others. > > Ok, so what does window.screen.width and window.screen.height return? It is _not_ `window.screen.width` and `window.screen.height`; it is `screen.width` and `screen.height`. `screen` is a host-defined property of the global object which just happens to be mirrored by the value of the global object’s host-defined `window` property. As to what those properties mean (only *methods* have a return value): AISB, it depends, and with regard to your problem it is irrelevant except that the values are not reliable. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
detect a phone Andrew Poulos <ap_prog@hotmail.com> - 2017-08-26 19:23 +1000
Re: detect a phone "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-08-26 11:44 +0200
Re: detect a phone Andrew Poulos <ap_prog@hotmail.com> - 2017-08-27 00:09 +1000
Re: detect a phone "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-08-26 20:02 +0200
Re: detect a phone Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-08-26 20:42 +0800
Re: detect a phone "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-08-26 09:40 -0700
Re: detect a phone Andrew Poulos <ap_prog@hotmail.com> - 2017-08-27 08:48 +1000
Re: detect a phone "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-08-26 16:31 -0700
Re: detect a phone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-27 03:35 +0200
Re: detect a phone JJ <jj4public@vfemail.net> - 2017-08-27 00:03 +0700
Re: detect a phone Andrew Poulos <ap_prog@hotmail.com> - 2017-08-27 08:21 +1000
Re: detect a phone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-27 04:00 +0200
Re: detect a phone Andrew Poulos <ap_prog@hotmail.com> - 2017-08-27 18:13 +1000
Re: detect a phone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-27 15:15 +0200
Re: detect a phone Mark Lloyd <not@mail.invalid> - 2017-08-27 11:30 -0500
Re: detect a phone Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-27 03:33 +0200
csiph-web