var uri = new URL(window.location.href); console.log(uri.hostname); if(uri.hostname=="localhost"){ }
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.