Geeks for your information
Microsoft Edge, Google Chrome Will Be Able to Link to Text on Websites - Printable Version

+- Geeks for your information (https://www.geeks.fyi)
+-- Forum: News (https://www.geeks.fyi/forumdisplay.php?fid=105)
+--- Forum: Browsers News & Tips (https://www.geeks.fyi/forumdisplay.php?fid=109)
+--- Thread: Microsoft Edge, Google Chrome Will Be Able to Link to Text on Websites (/showthread.php?tid=5683)



Microsoft Edge, Google Chrome Will Be Able to Link to Text on Websites - silversurfer - 16 February 19

Quote:A new feature that could soon be available in Chromium-powered browsers will allow users to link directly to specific words, sentences, or paragraphs on a particular page.

At this point, users can only link to entire webpages or sections as long as anchors are created, but with this new feature, they can generate links for pretty much any piece of text on a specific page.

A recent commit discovered by ChromeStory indicates that the new feature could be called Scroll to Text and is based on a GitHub project that provides a little more information about how this is going to work once it goes live in browsers powered by the Chromium engine.

“We propose encoding a text snippet in the URL fragment, prefixed with the targetText= string. Since text can contain characters invalid in a URL (e.g. spaces), the text must be percent encoded. For example, #targetText=My%20Heading would cause the first occurance of “My Heading” on the page to be selected as the indicated part of the document.”

SOURCE: https://news.softpedia.com/news/microsoft-edge-google-chrome-will-be-able-to-link-to-text-on-websites-524968.shtml