A new method to validate URLs in JavaScript | Hacker News Reader