Welcome to WebmasterWorld Guest from

Forum Moderators: open

JavaScript question - how to get OS

6:06 am on Aug 22, 2019 (gmt 0)

New User

joined:Aug 16, 2019
posts: 7
votes: 0

By which mechanism in JavaScript can you detect the operating system on a client machine?
8:07 am on Aug 22, 2019 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 244

welcome to WebmasterWorld [webmasterworld.com], RashmiVanwani!

the platform property of the navigator DOM object should give you what you are looking for.