It is a simple line of code and the entire site does this or add target=“_blank” to every hyperlink, and it will do the same thing. It sucks that you have to right-click every link to open in a new tab or window and it is such a simple fix.

    • slampisko@czech-lemmy.eu
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      Or Ctrl+Click to open in a new tab in the background, or Ctrl+Shift+Click to open in a new tab and switch to it. Regardless, I agree with OP that this should be the default.

    • cubedsteaks@lemmy.today
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      I’m aware of this and do this but its annoying when it could just open a new link away from Lemmy because so much of being on a lemmy instance for some reason involves me keeping Lemmy in one tab so I stay logged in… because if I leave… then I have to sign back in again.

    • JoBo@feddit.uk
      link
      fedilink
      arrow-up
      0
      arrow-down
      2
      ·
      1 year ago

      Laptops don’t have middle clicks.

      Everyone knows the various workarounds. You don’t need to post them. This thread is about a problem that ought not to exist.

      • Kissaki@feddit.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Everyone knows the various workarounds.

        You have no idea what “everyone” knows. Many - and I’m certain most - don’t.

        • JoBo@feddit.uk
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          Mine doesn’t but I’ve found an option to switch three-finger click to middle mouse button. Thanks.

      • Deebster@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I think that forcing links to create new tabs world be a problem. Links working the default, normal way is a feature, not a bug.

        • JoBo@feddit.uk
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          Links opening in new tabs is the default normal way. Most sites don’t send you off their site by default, for obvious reasons. And most feeds won’t lose your place in the feed by default, for equally obvious reasons.

      • TheGreenGolem@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        Ctrl + Click

        But yeah, it’s odd.

        The worst is fucking Jira. Why on Earth would I want to navigate away from my ticketing system EVER.