32 points · by 12907835202 · 3y ago · 16 comments
Now it seems like my only option is to bookmark the entire page and later scroll up and down trying to find my spot.
This seems odd considering how ubiquitous the concept of bookmarks has been for centuries.
It is common to be able to store locations in modern formats like video and music and be prompted whether to restore location or restart but not older formats like text.
Bulletin boards often track the last page you visited but not which comments you've scrolled past. Although this is different to reading a single large body of text.
It's made even worse by the fact that most pages load many trackers, some of which even track user scrolling, but that this isn't utilised for the readers experience.
In many cases scroll position is saved such as via the back button in a browser. But this isn't made available for bookmarking.
Google Chrome does now let you link to a text fragment. But this becomes quite fiddly to use as a bookmarking tool. The "share" option doesn't have an add to or update bookmark option suggesting this isn't its intended purpose. We're just lucky they've accidentally given us a tool we can also use for bookmarking with a couple of extra steps.
Even if it would be difficult for browsers to implement due to shifting screen dimensions, it seems some major text heavy websites like medium, Wikipedia or substack could implement it. It seems like it could even be a feature "do you want to finish reading X?" But as far as I can tell nobody ever has.
Is anyone on HN implementing something like this on their site? Or tried in the past?
<a name="myanchor"><h3>Things to do</h3></a>
If the CMS supports name anchors, you can just bookmark it as https://example.com/foo.html#myanchor
Of course, authors are not mandated to follow named anchors for their document fragments, so this is just a best practice.[1]: https://www.w3.org/MarkUp/html-spec/html-spec_7.html#SEC7.4
Sadly most web devs don't give a damn about accessibility anymore :(
Especially not in the React and Angular based ecosystems and toolchains. Server-side rendering was popular for a while, but even then the generated HTML codes were pretty useless for A11y focussed products.
While looking up a reference for that I came across this https://developer.mozilla.org/en-US/docs/Web/Text_fragments which, as far as I can tell from a quick reading, is the feature you're describing Chrome as having but it seems is a little more widely implemented than that https://developer.mozilla.org/en-US/docs/Web/Text_fragments#... .
I only use Firefox and Chrome and it's missing in Firefox.
There is an extension for Firefox: https://addons.mozilla.org/en-US/firefox/addon/link-to-text-...
(Funny that I can find an extension for that but not the bookmarking I was looking for.)
A discussion about it is on GitHub: https://github.com/mozilla/standards-positions/issues/194
And there's some discussions on Reddit which are currently dead and I didn't bother using archive.org to read them.
For comments, I partially dealt with the issue by writing a bookmarklet that highlights the latest comments and jumps to the next one on the page with each click of it. It works pretty well for finding current activity, cutting across deep threads later in a discussions timeline, and seeing what I wouldn't have earlier.
https://chromestatus.com/feature/4733392803332096
Doing this manually is tedious, but a browser extension would make it super easy.
The cool thing about the web is that I can easily copy and share a URL and whoever I share it with can quickly look at the same thing. But in modern SPA-land it has become harder and harder.
The thing is, the DOM has a consistent state so I'm sure the browser could generate some hash of the current state even if the modern web developer can't figure it out.
It doesn’t seem to be a problem, really.