Vanilla JavaScript detecting the operating system
I'm sure you've ever seen this in action.
A website that states hey you're on MacOS download this specific Mac version. Or download the Windows EXE here.
It mainly comes down to downloads, but there can be some cool advantages of knowing a users brow...
h.daily-dev-tips.com2 min read
Usman Sabuwala
Learning web development, running a YouTube channel
Wow! I did not know we can easily detect it without using something like
detect.js. Thanks a lot for the article Chris!