bsdhw / HardwareSupport

Status of hardware support in latest FreeBSD, OpenBSD and NetBSD
Creative Commons Attribution 4.0 International
5 stars 1 forks source link

Respect Control-clicks (the Control-clicked content should open solely in a new tab, should not be duplicated in the foreground tab) #1

Open grahamperrin opened 3 years ago

grahamperrin commented 3 years ago

A Control-click on a listing, for example:

image

Expected

  1. no change to the current tab
  2. the clicked listing in a new tab.

Actual result

  1. the clicked listing in the current tab
  2. the clicked listing in a new tab.
linuxhw commented 3 years ago

This is usually decided by the browser to open links in a new tab or in the same tab, not by the web site itself. You can change your browser preferences to open all links in new tabs.

grahamperrin commented 3 years ago

Thanks, this is not a browser decision; it's the site responding inappropriately.

If you like, I might find an example of a fix for a comparable problem elsewhere (I know that it has been done, but I might not have a bookmark of the case).

linuxhw commented 3 years ago

Could you please explain why it should be opened in a new tab in this case?

grahamperrin commented 3 years ago

It's the norm, nothing set by me. Control-click opens a link in a new tab, in various browsers on various platforms.

The issue is that we also (wrongly) get the Control-clicked link in the original tab. Result:

grahamperrin commented 3 years ago

No longer reproducible at e.g. https://bsd-hardware.info/index.php?d=helloSystem

… fixed?

Reproducible at https://bsd-hardware.info/?probe=c2e361eeff#Logs with a Control-click on Kldstat

grahamperrin commented 3 years ago

This bug is so annoying. Will it help if I move it to https://github.com/linuxhw/hw-probe/issues ?

grahamperrin commented 3 years ago

Doubly annoying at, for example, https://bsd-hardware.info/?view=search&vendor=AMD&name=Radeon+RX+580#list where the context menu workaround can not be used; there's no option to follow any of the links in a new tab:

image

Instead, it's necessary to:

  1. duplicate the tab
  2. again, duplicate the tab
  3. again, duplicate the tab
  4. click the third link
  5. bring the second tab to front
  6. click the second link
  7. bring the first tab to front
  8. click the first link.

That's for a list with three results, that's eight steps instead of three.

Imagine the annoyance where there's a longer list of results,

I don't like to complain, but the weirdness (not responding properly to Control-Click) is a blot on an otherwise extremely useful site.

linuxhw commented 3 years ago

Just right-click on the >> link and open the page in a new tab.

grahamperrin commented 3 years ago

Please, can this not be fixed?

It's unusual, nowadays, to find sites that don't respond properly to Control-clicks on links … and browsing https://bsd-hardware.info/ and https://linux-hardware.org/ can involve many such clicks.

grahamperrin commented 3 years ago

Re: https://old.reddit.com/r/HTML/comments/phlny8/-/hbn3s35/?context=3 I found an extension that disables JavaScript for the two domains.

grahamperrin commented 3 years ago

disables JavaScript for the two domains.

:-(

Clicks on pie charts at e.g. https://bsd-hardware.info/?view=computers require JavaScript.