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.

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

    What I hate is when you click on what’s supposed to be an image that you’d expect to expand, but instead it’s a link because the embed isn’t supported. Then when you hit back you lose your place because the page your on isn’t saved and you’ve lost your place trying to get back.

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

      I made this user style to help fix that problem by outlining images, and also make it so when you click an image it expands over the page at full size up to the width of the screen.

      Though it’s not perfect. If the image is already black it’s hard to tell. You could change the outline color to something less common, but that looks ugly. Changing the boundary radius would probably be the best, but it’s already marked as !important so I don’t think I can change it. I’m open to suggestions on improving that part.