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.

  • paraphrand@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year 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.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year 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.worksOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year 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.