Welcome to WebmasterWorld Guest from 3.81.29.226

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)

Administrator

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

joined:Aug 10, 2004
posts:11870
votes: 244


welcome to WebmasterWorld [webmasterworld.com], RashmiVanwani!

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