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.

    • Dem Bosain
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      How do I get all links on a specific website to open a new tab?

    • Synthead@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      1 year ago

      I don’t really agree with this, though. I’m all about control or what have you, but I don’t feel that I’m in less control if I cannot leave Lemmy when clicking a link. I can’t see any flow where this is expected behavior other than the principle of not setting a target.

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

      Lemmy overrides that setting. It works everywhere but here and it is irritating as hell.