Hacker News new | ask | show | jobs
Ask HN: When favoriting a thread, could the link keep us on the thread?
4 points by acmegeek 1704 days ago
As a long long time user, I'm quite fond of HN and the quality content and insightful discussions. And the moderation here is simply unmatched.

My only quibble is that when I click the link to favorite a submission/thread, I end up on my favorites page, which means I then have to click back to return to the thread. Not sure why it works like this, but generally, I'd much rather just end up back on the original thread.

Is this something that can be changed, or is there some other reason it works like this?

1 comments

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 hn@ycombinator.com because these threads sometimes are not noticed.

I think the ping attribute could be useful for that https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#...
AFAICT this feature should also be possible to implement server-side using Arc.
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.