Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why using a hash for url instead of url query parameters?


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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: