Open tomayac opened 2 years ago
Comparing with original link gotten from original implementation in Chrome I see two differences:
Link gotten from original Chrome implementation of 'Copy link to highlight':
Link gotten from Chrome extension "Copy link to selected text" (bugreported link):
@tfmar, would anyone from your team be able to debug what the issue is here?
(Migrated from https://github.com/GoogleChromeLabs/link-to-text-fragment/issues/58, via @guihkx.)
When trying to highlight the following text:
From this page: https://developer.nvidia.com/vulkan-driver
Your extension generates the following URL:
https://developer.nvidia.com/vulkan-driver#:~:text=march%2029th%2C%202022%20-%20windows%20473.33%2C%20linux%20470.62.26
When you open the URL above on Firefox 98.0.2, it highlights the text successfully, but the same does not happen on Chrome 100.0.4896.60.
Using Chrome's built-in "Copy link to highlight" feature, this URL is generated instead (and it works on both Firefox and Chrome):
https://developer.nvidia.com/vulkan-driver#:~:text=March%2029th%2C%202022%20%2D%20Windows%20473.33%2C%20Linux%20470.62.26
Maybe it could help you find a solution.
Thank you for this extension by the way!