Created
June 17, 2015 10:58
-
-
Save mshirdel/dcc51967bbb9b14ea3b5 to your computer and use it in GitHub Desktop.
URL and host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = location.protocol.concat("//") + window.location.host; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment