3 ms·
Ask HN: When favoriting a thread, could the link keep us on the thread?
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?
- gus_massa 5y agoI 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.
- cpach 5y agoAFAICT this feature should also be possible to implement server-side using Arc.
- gus_massa 5y agoThe 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.
- mstipetic 5y agoI think the ping attribute could be useful for that https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-ping https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#...