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.
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.
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.
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.
You can use middle click to open sites in a different tab
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.
Thats subjective. Different people have different opinions on how this should work. Making the default open in the current tab still allows you to have the alternate behaviour with ctrl+click or middle-click. The reverse does not.
A simple checkbox in the settings allows users to choose which option they’d prefer.
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.
So now I need to buy a mouse and sit at a desk in order to use Lemmy?
C’mon. No other site behaves like this. It needs to be fixed.
Web apps should not override the configured behavior of browsers.
It does not. There is nothing on lemmy’s link to force link to open in the same tab. Your browser can do whatever it wants.
Maybe your confusing the behavior that a lot of site decided to implement as default (open in new tab) with a browser setting.
Maybe your confusing the behavior that a lot of site decided to implement as default (open in new tab) with a browser setting.
Try reading OP’s title and post body, then my reply again.
Dang I was so angry at people claiming the opposite it kinda blinded me into thinking you meant it the other way around. Sorry.
Yeah, but no: blind and visually impaired people have troubles navigating the web because of these links that are opened in a new tab/window.
It could be an option to activate, though.