platform-detect
Advanced tools
Changelog
[3.0.1]
Changelog
[3.0.0]
platform.edge
. It was previously true
only for desktop Windows version of the old Edge based on EdgeHtml rendering engine. Android and iOs versions of Edge showed platform.edge:false
. Since MS is ditching EdgeHtml in favor of Chromium from desktop version, we reflect the change now and all Edge browsers on any OS now return platform.edge:true
. You can still detect the old edge by querying the rendering engine platform.edgeHtml
.platform.safari
& platform.chrome
should show less false positives.platform.dev
is now undefined
in browsers because Chrome removed the way we could use to detect Dev Tools.platform.formfactor
now includes hybrid
which is a touch device with a mouse - like Surface Pro (tablet with detachable keyboard) or Surface laptop (laptop with touchscreen)platform.gecko:true
. Instead it is platform.blink:true
.platform.firefox
is now detected by both Firefox/
and FxiOS/
.platform.opera
is now detected by both Opera/
and OPR/
.platform.edge
Is now true in all versions of Edge on any OS.platform.safari
now has less false positives due to improvements in detecting other browsers.platform.gecko
now returns true on android since Firefox now compiles Gecko for their Android Firefox.platform.opera
is no longer falsely detected (for example on tizen's browser or instad of Samsung Browser)platform.gamepar
in older chromium browsersplatform.samsungBrowser
platform.formfactor
now reflects into platform.phone
, platform.tablet
, platform.desktop
, etc...platform.chromeapp