You can see that they use empty <span> elements to break up the link. I guess they use this method to prevent the scrapper from fetching these URLs. However, this also prevents the script from working.
What is the use-case of this feature? Some problems:
* It's not clear which selection is "provided by the script". For example, you can create a selection manually and extend the selection with this script.
* the .select-text-inside-a-lin…
I tried to install the script on Opera. It seems that the script can work correctly with Tampermonkey v4.7.44, which is the latest version on Chrome Web Store. It doesn't work with Tampermonkey v4.2.5291, which is the version on addons.opera.com.
Yes, this is a known compatibility issue. On Youtube, if some text is replaced with a link, the element is no longer reactive. The only way to prevent this is to disable the script for the description element.