Hacker News new | past | comments | ask | show | jobs | submit login

Please don't. The web lives and dies by links, the more specific the better, so #to-an-id or #:~:text=to-search are so much more useful than bad state management that probably only works for that one logged-in user anyway. Put that state in the part of the URL you unambiguously control (query params).

https://web.dev/text-fragments/#textstart




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

Search: