How to Share a Link to a Particular Phrase


This is very handy when you want to share an excerpt of writing in context, a concept that is totally lost if you just take a screenshot with a highlight.

How This Works

This feature is made possible by a web standard called Text fragments. It’s been built into browsers for years now; it’s just not the kind of feature that made a lot of headlines at the time.

The feature basically creates a URL that includes enough information for your browser to find the highlighted text portion. If you copy a URL made this way and paste it into a document so you can study the link’s structure, you can see how this works.

In the simplest cases, the URL will include the entire highlighted portion. That works fine for short fragments, but for long passages, the URL gets ungainly pretty fast. When you’re linking to longer text fragments, the URL includes a reference to the beginning and end of the excerpt. Either way, the URL tells your browser not only which page to load, but what part of the text should be highlighted. Your browser finds the text, highlights it, and jumps directly to it.

There are subtle differences in how browsers handle this. Safari highlights text in yellow, for example, whereas in my tests Chrome seemed to prefer purple. But since this URL structure is standardized across browsers, a link created in one browser works in every browser.

It’s worth noting this feature doesn’t work in all contexts. If the website you’re reading is behind a paywall, and the person you’re sharing with doesn’t have access, they probably won’t be able to see the excerpt you’re trying to share. The feature also doesn’t work inside PDF files, even when you open them in your browser.

But sharing a text fragment, in most cases, is a lot more useful than sharing a screenshot. Give it a try the next time you’re trying to win an argument online.



Source link

  • Related Posts

    Lucid’s turnaround plan hinges on $1.4B in cash savings, robotaxis

    Lucid Motors said Tuesday that its “operational reset” will focus on $1.4 billion in cash reductions along with three other “must win” and potential money-making priorities that include robotaxis, its…

    Tomorrow’s U.S. Senate Vote: Four Internet Bills, One Wrong Direction

    The Senate Commerce Committee will vote this week on several censorious and privacy invasive bills: KOSA, the SCREEN Act, Youth AI Privacy Act, and CHATBOT Act. While we appreciate that…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Rep. Wesley Bell defeats former Rep. Cori Bush in a Missouri Democratic primary rematch

    Rep. Wesley Bell defeats former Rep. Cori Bush in a Missouri Democratic primary rematch

    US revokes visa for Brazilian ambassador

    Close call at Saskatoon restaurant where car smashed through patio

    Close call at Saskatoon restaurant where car smashed through patio

    Lucid’s turnaround plan hinges on $1.4B in cash savings, robotaxis

    Lucid’s turnaround plan hinges on $1.4B in cash savings, robotaxis

    David Mirkovic injury update: Illinois star undergoes foot surgery, return undetermined

    David Mirkovic injury update: Illinois star undergoes foot surgery, return undetermined

    Wings Of The Future: What Airbus’ A321neo Test Program Reveals About The Next Narrowbody

    Wings Of The Future: What Airbus’ A321neo Test Program Reveals About The Next Narrowbody