TomJ, my personal blog about just everything

Web devProgrammingJavaScriptMobile

24.4.2022 11:24:57

How do you recognize a mobile device in JavaScript?

You can determine type of the device only if a mobile device requests mobile site. In default, they all do, but it's not guaranteed. But it's OK, you should server page and styles and features as requested.