cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Neopolitan
Strollin' around
Status: New idea

Since Chrome 90, there has been a feature which allows users to highlight some text on a given webpage and create a link which, when visited, highlights the text again. The link is appended with #:~:text= with the text to be highlighted being URL encoded and put after. A simple but incredibly useful feature I recon Firefox could benefit from.

23 Comments
jackofallsnax
Making moves

It is a very nice feature in Chrome because it prevents a barrier that a screenshot causes - the screenshot can't be scrolled or resized like a webpage and doesn't link to the original URL. So if we pretended the internet was a town, and I wanted to tell you about an ice cream parlor, while Firefox can only share the town name or a photo of the ice cream parlor, Chrome can give an exact address for the ice cream parlor that you want to share with others. Just a bad analogy I thought of.

Readto
Strollin' around

This should be implemented as soon as possible

OutlawHusbando
Making moves
From user standpoint, this is useful to share a link that jump to exact part of the page without using anchor. From dev standpoint, this feature isn't hard to implement, Google even open-source their code.
Kotlin
New member

According to web.dev, this has been implemented in firefox since release 131 (see how this link highlights the text "131" when opened in firefox)

All thats missing, I think, is the ability to create such links, which should be a relatively simple endeavour from what I understand.

Spitfire1900_C
Strollin' around

Firefox now supports this, but support to create a link in the right-click menu is still missing.

https://www.mozilla.org/en-US/firefox/131.0/releasenotes/#:~:text=Firefox%20now%20supports%20text%20....

Anonymous
Not applicable
Ponda
Making moves

I can't believe it's still missing. All that has to be done is addition of one more entry to the right click menu, quite literally. Though base64 encoding would also be nice so that the link are properly recognized and handled by third-party software and Firefox for Android (unlike desktop Firefox, Firefox for Android can't handle URLs with spaces and switches to search instead.)

Ponda
Making moves

Oh dear, it seems I was mistaken, it actually is quite a lot of work to implement it properly. I know it because work on it started according to Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1779688.

Could we get official confirmation this feature is indeed coming soon™?