This is an experimental flag and may or may not make it to the Stable version of Chrome. import React from 'react' Ĭlass CopyExample extends React. The code that I found today adds the following experimental flag to Chrome: Copy Link To Text: Adds an item to the context menu to allow a user to copy a link to the page with the selected text highlighted. tag' macros: check x link, x page click CREATE button 5.Youre done. Looking at it's pretty widely supported now, however you can still do things like checking to see if the functionality exists in the current client and simply hide the copy button if it doesn't. I personally don't see the need for a library for this.