this post was submitted on 25 Jul 2023
89 points (88.0% liked)

Fediverse

27740 readers
302 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (1 children)

I'm really glad they don't! There's so many ways to ask for a link to open in a new tab, but it's much harder to make links open in the same tab once target=_blank is set.

[–] [email protected] 9 points 1 year ago

This. Websites should use standard mechanisms by default, and optionally layer user preference stuff on top.

Every time you override some default browser behaviour you risk breaking workflows, harming interoperability and accessibility, etc.

OP would be better served with a grease/tamper/violentmonkey script to alter links (or inject a base target tag, whatever) than lobbying developers to change things. (Or, yknow, learning to use the middle mouse button).

[–] starman 10 points 1 year ago* (last edited 1 year ago)

Click with middle mouse button (scroll)

[–] [email protected] 9 points 1 year ago (1 children)

It should be an option IMO, I prefer not ending up with loads of tabs. But definitely good to have the option for those who do.

[–] [email protected] 2 points 1 year ago

Good news! It is going to be an option. Feature was merged into the back-end already - just need someone to update the UI.

https://github.com/LemmyNet/lemmy/pull/3318

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

I wrote a script that makes Lemmy links on old.lemmy behave this way (like you like them on reddit).

You can use it as a bookmarklet or if you use grease/tampermonkey you can apply it to the site automagically.

[–] [email protected] 3 points 1 year ago
[–] [email protected] 6 points 1 year ago

Agreed! Especially since the behavior on clicking a thumbnail isn't very consistent on mobile. Sometimes I click the thumbnail and it expands the image. Sometimes it follows a link. Sometimes going back from a link takes me back to the same Lemmy page I was on, but other times it reloads the page and I can't find the post I was looking at anymore. An option to open all links in a new tab would really help me not lose the post I was looking at when I clicked.

[–] Still 6 points 1 year ago

just middle click

I'm sick of things that open new tabs when I don't want them to and those stupid JavaScript.void() """"links""""

[–] [email protected] 2 points 1 year ago (1 children)

On windows you can use Ctrl+click to open in a new tab

[–] [email protected] 3 points 1 year ago
[–] [email protected] 2 points 1 year ago

Me too! Yes, workarounds exist.

But I wonder, for who is it actually more convenient to override the current lemmy tab with the target?

I understand if it is used like some one-off search engine, to find a particular content and move on. But I assume most people use lemmy more as a permanent place. Wouldn't it benefit more people to open links in a new tab by default?

[–] [email protected] 2 points 1 year ago

Click down on your scroll wheel with the mouse when hovering over a link to open in a new tab

[–] [email protected] 1 points 1 year ago

I think a user script or extension could solve that. Im sure a lot of people on lemmy can make one. I hold ctrl while clicking links so this doesn't bother me.

[–] [email protected] 1 points 1 year ago

You can use Greasemonkey plugin in your browser to modify link behavior of Lemmy instances web page. Should not be too complex script.

[–] [email protected] 1 points 1 year ago

At least as a user preference.

[–] [email protected] 1 points 1 year ago

I highly agree. So many times I click on links thinking I am going to expand an image only for it to navigate away from Lemmy altogether. I'd also like any image that is auto included from a link to another site to expand like a directly uploaded image would expand. Then only clicking on the link is what opens a new tab.

[–] [email protected] 1 points 1 year ago

This is probably my biggest complaint with Lemmy. There are a number of Greasemoney scripts to improve things like that but I've had mixed results.

[–] [email protected] 1 points 1 year ago

I do, too. You should post your commentary on the GitHub issue.

load more comments
view more: next ›