Ever needed a way to highlight a web page?
How about pass that highlighting onto someone else?
Or direct someone to a particular part of a web page?
Printing out the web page and using a highlighter works, but consumes trees.
The newly proposed and implemented ScrollToTextFragment extends the Fragment Identifier to do the job.
The Fragment Identifier is the part in the some url's like this one:
https://en.wikipedia.org/w/index.php?title=Cat&oldid=916388819#Whiskers
This suffix on the URL jumps to a particular anchor or Fragment Identifier of a page,
in this case Whiskers in the Wikipedia article on Cats.
While this is wonderful, the author or content generation engine has to create the needed named anchor or DIV ID tag before the page is sent to the user. The user had few ways to scroll to a section of a web page, or highlight the important content.
A new method, using a new Fragment Identifier as a suffix, allows scrolling to text and highlighting text.
As of July, 2020, Chromium-based browsers, including Google Chrome and Microsoft revised Edge browsers, now support the proposed standard known as Text Fragments. The feature is also referred to ScrollToTextFragment and is discussed in the Introduction to Text Fragments.
The following URL allows us to highlight Like almost the Felidae and antiskidding .
The browser will automatically scroll to the first of these and highlight the text in yellow as shown:
Currently, the webpage has to completely load before the scrolling and highlighting will appear.
Occasionally, the webpage will not scroll or render the highlighting at all. Reloading the page seems to help.
Facebook's mangling of posted URL's by including fbclid to help track who clicks on the URL's that are posted seems to get in the way of the rendering.
Note: In the URL, https://en.wikipedia.org/w/index.php?title=Cat&oldid=916388819#Whiskers,
the oldid stuff allows us to refer to a specific version of the ever-changing Wikipedia page about Cats.