Chrome Scroll to Text Fragment

Google’s Chrome 80 introduced a new deep linking feature called “Scroll to Text Fragment.” That description struggles to describe what it does.

Basically, it lets you specify a link that will position a web page at a string that you choose.

Here’s a screen shot that doesn’t use it.

Image for post
Image for post

Here’s a screen shot that scrolls to “Beat”.

Image for post
Image for post

Notice that the requested string is highlighted.

Now for the bad news. It’s really hard to use.

Here’s the URL that I used in the above example.

https://techcrunch.com/2020/03/20/psa-yes-you-can-join-a-zoom-meeting-in-the-browser/#:~:text=Beat

And I can’t find a tool that lets you easily construct that URL. I use Notepad.

Originally published at https://blog.benmoore.info.

Written by

IT professional, Formula 1 fan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store