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.

  • krogoth@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I prefer the current behaviour.

    It’s easy to open a link in a new tab without right clicking. You can middle click (Windows and Linux) or command+click (MacOS). However there’s no easy way to force a browser to open a link in the current tab if the site wants to use a new tab.

    • Archpawn@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      However there’s no easy way to force a browser to open a link in the current tab if the site wants to use a new tab.

      Just hit ctrl+w after clicking the link. That will close the current tab.