News for hackers. Stuff that matters.
Re:Ask HN: When favoriting a thread, could the link keep us ... by gus_massa on Wednesday October 20, 2021 @07:19PM (#28938127)
I guess they implemented it using a html link because it's easier. They reserve the JavaScript magic for very special cases.

Anyway, I think it's a good idea. Send it to the mods by email [email protected] because these threads sometimes are not noticed.

Re:Ask HN: When favoriting a thread, could the link keep us ... by mstipetic on Thursday October 21, 2021 @06:18AM (#28942493)
I think the ping attribute could be useful for that https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#...
Re:Ask HN: When favoriting a thread, could the link keep us ... by cpach on Thursday October 21, 2021 @03:45AM (#28941542)
AFAICT this feature should also be possible to implement server-side using Arc.
Re:Ask HN: When favoriting a thread, could the link keep us ... by gus_massa on Thursday October 21, 2021 @07:00AM (#28942757)
The difficult part is to return to the exact position in the page. I guess that returning to the top of the same comment page is a change in one line.