Device detection is the process of deducing information, such as usable screen width and browser type, about a client device. For web services, device detection is typically performed by way of User-Agent string matching, as a way of tailoring content to different types of devices.
Questions tagged [device-detection]
111 questions
-2
votes
1 answer
Javascript code to find the user device
I wrote some simple code to find the type of the device:
$(document).ready(detectDevice);
function detectDevice() {
if (window.innerWidth > 768) {
var device = "Desktop";
console.log('=======device======', device);
} else…

Srilakshmi B S
- 21
- 1
- 5
-2
votes
2 answers
Detecting website access through tablets
I am a newbie .NET developer. I have a website wherein I need to detect whether access to the website is from a TABLET. There is a mobile version of the site but my client wants it such that when the site is accessed through a tablet, a modified…

Mani
- 379
- 1
- 4
- 22
-2
votes
1 answer
how to check device is flagship android device
I have a flagship android device like http://www.minix.us/products/NEOX7.html .
It's hardware device. so i want to check in my application if device is flagship android device

user3459752
- 1
- 2
-3
votes
0 answers
I want to detect the TV device without using UserAgents using ReactJS/Javascript
Requirement: I have to show a popup(under maintenance) to block the using of our website through TV browser. We are using ReactJS.
I'm unable to get the device information(to check whether its a tv device) using the UserAgents that we are getting…

Raphael
- 1
- 2
-3
votes
1 answer
How to detect if it is a desktop device using the DeviceDetector php library?
I am using this library to detect the device and client program from the http user agent string.
Device Detector
On the library's demo page, they are able to distinguish if the device is a desktop or smartphone even if the device model is not…

cytsunny
- 4,838
- 15
- 62
- 129
-4
votes
0 answers
Detect TV devices web (without user agents) Javascript
Is it possible to detect whether the device is TV or not without using user agents?
Requirement: I have to show a popup(under maintenance) to block the using of our website through TV browser. We are using ReactJS.
I'm unable to get the device…

Raphael
- 1
- 2