Comment

Comment by un-devmox

Off topic but I noticed while reading the archive.md article I highlighted some text by accident and noticed that the URL was updated to point to that text, https://archive.md/REmb8#selection-2437.0-2437.5. I've never seen this before. I know Chrome has 'Copy Link to Highlight' but this appears to be different and cross browser compatible. Does someone have any info on how this works? I'm assuming that URL is updated via JavaScript. What about when browsing to the URL? I think this is handy and something I'd like to incorporate into a blog site I'm building.
parent un-devmox 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton