This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

The Navigator Object

The userAgent property returns the user-agent header sent by the browser to the server:

// detects and displays the user-agent header sent by the browser to the server
document.getElementById("demo").innerHTML =
navigator.userAgent;

Warning