Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Click the button to alert the hostname of the current URL.
Try it