How To Get The Domain From A URL Using JavaScript
Monday, August 29th, 2011I’m sure this is a common problem: getting the domain or host name from a URL using JavaScript. There are certainly many solutions to this problem out there. However, the solutions I found weren’t robust enough for my needs, so I ended up writing my own.
(more…)

