Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Device Detection

Technology
0
Jeromana123 Posted NewGuy4 edited answer

Hi

Wanting to improve the device detection that I use and I hereby ask you: what’s the best method? The goal is to have as little false positives when it comes to mobile/PC as possible.

So what do you guys recommend?

0
NewGuy40 NewGuy4 edited answer

Hello!
Did you try to do it thought to detect a mobile browser with JavaScript? I know a small but highly effective JavaScript code http://detectmobilebrowsers.mobi/ that recognizes the browser of a smartphone! That also redirected to the mobile website, and a mobile template can be displayed. I think that information going to help you with that!

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.