News for hackers. Stuff that matters.
Re:Links are not buttons (2013) by chociej on Friday April 09, 2021 @01:47PM (#26753633)
TBH I don't care too much what someone does with a button or link, but if hold Ctrl and it doesn't open in a new tab, I'm gonna be grumpy.
Re:Links are not buttons (2013) by jibbit on Friday April 09, 2021 @02:41PM (#26754341)
Twitter seems to have recently (partially) given up on <a> tags, meaning i can no longer right-click to open in a new tab - it is infuriating
Re:Links are not buttons (2013) by anthk on Friday April 09, 2021 @02:44PM (#26754392)
Re:Links are not buttons (2013) by dredmorbius on Friday April 09, 2021 @03:24PM (#26754914)
Chronically rate-limited, use an alternative.

(I could mention one that works, but that will eventually of course just compound the problem. So my secret fishing spot remains secret ;-)

Re:Links are not buttons (2013) by blewboarwastake on Friday April 09, 2021 @04:16PM (#26755535)
You can use this extension: https://github.com/SimonBrazell/privacy-redirect and use the "use a random instance" option
Re:Links are not buttons (2013) by dredmorbius on Saturday April 10, 2021 @02:13AM (#26759351)
Thanks, useful.
Re:Links are not buttons (2013) by thitcanh on Friday April 09, 2021 @10:00PM (#26758301)
So you do care since only links follow your browsers’ behavior. Nothing else can be right-clicked to show “Copy link address” in the dropdown for example.

The golden rule is that if a button opens a link to a page that has its own URL, it should be a plain anchor tag.

You can apply whatever JavaScript on top of it to “ajaxify” it, as long as you ignore altered clicks (ctrl, cmd, shift, etc)

Re:Links are not buttons (2013) by Kelamir on Friday April 09, 2021 @01:53PM (#26753706)
Hold control to open links in new tabs?! Woah! That's so much better than using middle mouse button, which is just suffering. Thanks chociej :)
Re:Links are not buttons (2013) by kaibee on Friday April 09, 2021 @01:58PM (#26753774)
I have one of those fancy gamer mice (Logitech G700S) and I bound the most prominent thumb button to middle-click. Haven't looked backed, making scroll-wheels clickable was a mistake.
Re:Links are not buttons (2013) by hypertele-Xii on Friday April 09, 2021 @02:48PM (#26754460)
Scroll wheels themselves are a bad implementation of a good idea. I bought a cheap USB volume control knob and used AutoHotKey to rebind volume up/down events into wheel scrolls. Productivity increased like crazy! Scrolling is no longer a chore, it's a pleasure. I even went the extra mile and coated it with rubber for a good grip.
Re:Links are not buttons (2013) by wussboy on Friday April 09, 2021 @03:41PM (#26755128)
I have always used Gesturefy to make right-click and drag down to open in a new tab. I don't know where I originally picked up this gesture...maybe Opera in 2003? But I've always loved it and use it a hundred times a day.
Re:Links are not buttons (2013) by Ashanmaril on Friday April 09, 2021 @02:46PM (#26754424)
Why is a 2-handed input better than a 1-finger input?
Re:Links are not buttons (2013) by marcosdumay on Friday April 09, 2021 @03:46PM (#26755194)
It certainly depends on your hardware. The GP is just rooted in a completely different experience than yours.