117
submitted 11 months ago by p1mrx@sh.itjust.works to c/firefox@lemmy.ml

After using Chrome for a decade and switching back to Firefox, one feature I missed was the ability to right-click and Go to [url] directly, for any selected text that vaguely resembles a URL.

I made Goto foo to approximately replicate Chrome's behavior in Firefox, but it would be nice if no extension were necessary.

you are viewing a single comment's thread
view the rest of the comments
[-] paraphrand@lemmy.world 11 points 11 months ago

Don’t let everyone “well actually” you, here. The fact you are making this robust is great.

Feature idea: holding down Alt/Option changes the menu to open in a new tab.

[-] p1mrx@sh.itjust.works 1 points 11 months ago

'New Tab' is the default/only behavior currently.

I notice that Chrome supports Ctrl-click (background tab) and Shift-click (new window), and Firefox provides a modifiers array, so I think I could replicate this.

[-] paraphrand@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

Oh, sounds good. It would be best to follow similar conventions. I’m a Safari person, so I didn’t know New Tab was default in Firefox. Making the menu say it will be a new tab would be good.

[-] p1mrx@sh.itjust.works 2 points 11 months ago

I've added support for Ctrl/Command/Shift in v1.7, but the menu text is unchanged because I don't know which keys are pressed prior to the click event. This matches Chrome's behavior.

this post was submitted on 01 Nov 2023
117 points (91.5% liked)

Firefox

17752 readers
401 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS