I wrote a script that can make links behave 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.
Submitted 1 year ago by phillycodehound@geddit.social to fediverse@lemmy.world
I wrote a script that can make links behave 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.
Great!
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.
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.
On windows you can use Ctrl+click to open in a new tab
Linux too.
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””“”
Deebster@lemmyrs.org 1 year ago
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.
dan@lemm.ee 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).