Hacker News new | ask | show | jobs
by maxloh 824 days ago
Why using a hash for url instead of url query parameters?
2 comments

Using location hash minimizes the risk of accidental activation by automated scanners if the URL is logged somehow, as it requires using a browser for JavaScript to read it.
My guess is it's shorter and easier to share.