190
submitted 1 year ago* (last edited 1 year ago) by snausagesinablanket@lemmy.world to c/nostupidquestions@lemmy.world

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.

you are viewing a single comment's thread
view the rest of the comments
[-] RandomVideos@programming.dev 56 points 1 year ago

You can use middle click to open sites in a different tab

[-] slampisko@czech-lemmy.eu 19 points 1 year ago

Or Ctrl+Click to open in a new tab in the background, or Ctrl+Shift+Click to open in a new tab and switch to it. Regardless, I agree with OP that this should be the default.

[-] JoBo@feddit.uk 10 points 1 year ago

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.

[-] emax_gomax@lemmy.world 18 points 1 year ago

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.

[-] CmdrShepard@lemmy.one 5 points 1 year ago

A simple checkbox in the settings allows users to choose which option they'd prefer.

[-] Serinus@lemmy.world 2 points 1 year ago

"just add a setting" is generally bad software design. If you have a million toggle switches, it makes it difficult to test the various combinations.

Sometimes an option is useful enough that it's worth adding to settings. I don't think this is one of them. Just use middle click or Ctrl+click or back arrow.

[-] JoBo@feddit.uk 2 points 1 year ago

It's overriding my browser preferences. That should not happen.

[-] Deebster@lemmy.ml 14 points 1 year ago

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.

[-] JoBo@feddit.uk 4 points 1 year ago

Links opening in new tabs is the default normal way. Most sites don't send you off their site by default, for obvious reasons. And most feeds won't lose your place in the feed by default, for equally obvious reasons.

[-] cley_faye@lemmy.world 8 points 1 year ago

Please tell me how to open a link with target=_blank in the same tab if I want to.

Or, maybe you think that the problem should not exist because you think your opinion is everyone's?

[-] callyral@kbin.social 7 points 1 year ago

My laptop has middle click on the touchpad

[-] JoBo@feddit.uk 2 points 1 year ago

Mine doesn't but I've found an option to switch three-finger click to middle mouse button. Thanks.

[-] Kissaki@feddit.de 7 points 1 year ago* (last edited 1 year ago)

Everyone knows the various workarounds.

You have no idea what "everyone" knows. Many - and I'm certain most - don't.

[-] CrayonRosary@lemmy.world 5 points 1 year ago

They do when you plug in a mouse.

[-] JoBo@feddit.uk 4 points 1 year ago* (last edited 1 year ago)

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.

[-] CrayonRosary@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

"To own a mouse, one must first buy a mouse."

  • Carl Sagan

Once you've crawled under that hurdle, you buy a hard mouse pad. Mine's steel covered with a thin layer of plastic. Works great on the arm of a couch or just on a pillow.

Now you can play first person shooters on the couch! Without the horrors of a controller.

Navigating the web is easier. Everything is easier! It's dreamy. Give it a try sometime.

[-] JoBo@feddit.uk 1 points 1 year ago

If I wanted a mouse, I would have a mouse. I do not want a mouse.

[-] TheGreenGolem@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

Ctrl + Click

But yeah, it's odd.

The worst is fucking Jira. Why on Earth would I want to navigate away from my ticketing system EVER.

[-] Natanael@slrpnk.net 4 points 1 year ago

Most laptops have gestures like triple finger tap on the mouse pad for simulated wheel click

[-] snausagesinablanket@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

This thread is about a problem that ought not to exist.

Exactly

[-] cubedsteaks@lemmy.today 6 points 1 year ago

I'm aware of this and do this but its annoying when it could just open a new link away from Lemmy because so much of being on a lemmy instance for some reason involves me keeping Lemmy in one tab so I stay logged in... because if I leave... then I have to sign back in again.

this post was submitted on 10 Sep 2023
190 points (100.0% liked)

No Stupid Questions

35714 readers
1827 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS