Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>The Window Navigator Object</h1>
<h2>The userAgent Property</h2>
<p id="demo"></p>
<script>
let agent = navigator.userAgent;
document.getElementById("demo").innerHTML = "User-agent:<br>" + agent;
</script>
</body>
</html>