قالب وردپرس درنا توس
Home / Tips and Tricks / How to use the new deep link feature of Google Chrome

How to use the new deep link feature of Google Chrome



  A close-up of the Google Chrome logo on a blue background.

Have you ever wanted to make a link that goes to a specific part of a long webpage? Chrome 80 makes that possible with a new deep link function called "Scroll To Text Fragment."

This feature requires no special efforts from the developer of a website. You can create deep links to any web page on any website. However, these links only work in Google Chrome 80 for the time being. (Click on menu> Help> About Google Chrome to check if the latest version of Chrome is installed.)

Create links that scroll to a text fragment

Go to the following link to view this feature in action if you use Google Chrome. After you click this link, Chrome loads our homepage and scrolls down and highlights the text & # 39; About us & # 39 ;:

howtogeek.com / #: ~: text = about% 20us [1

9659003] We didn't do anything special to make this possible on our website. Chrome pays attention to the parameter at the end of the URL. When you load the web page, it scrolls and highlights the text that matches what you specified in the URL.

 Deep link to text fragments in Google Chrome 80

To use this function in its most basic form, visit a web page and add #: ~: text = WORD to the end of the web page address, where "WORD" is replaced by a word of your choice. Use & # 39;% 20 & # 39; instead of a space.

Suppose you want to link to the word & # 39; matches & # 39; in the Wikipedia article about Dogs. You take the address https://en.wikipedia.org/wiki/Dog and add #: ~: text = competitions . The resulting link would be:

https://en.wikipedia.org/wiki/Dog#:~:text=competitions

 Linking to specific text on a web page in Chrome [19659003] This feature supports also more complicated instructions instead of just giving one or two words. This can help with more complicated documents. You can read the draft document for text fragments for more technical information.

There have been some discussions about privacy issues with this feature, but it is already available in the stable release Google Chrome 80. Other browsers are not yet signed in.


Source link