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



Smartphone icons created by Freepik - Flaticon

JS Location

The window.location object

// detects and display the hostname of the current page
document.getElementById("demo").innerHTML = 
"Page hostname is: " + window.location.hostname;