jarun / buku

:bookmark: Personal mini-web in text
GNU General Public License v3.0
6.52k stars 294 forks source link

Regression: can't use "open link in new tab" with navigation links #658

Closed LeXofLeviafan closed 1 year ago

LeXofLeviafan commented 1 year ago

The browser feature "open link in new tab" (accessible via popup menu, Ctrl+click, or Ctrl+enter when the link is focused) appears to have a bug in its implementation which causes such tabs to be treated as if they were opened programmatically (it appears to work like this in Firefox & Chrome, at least); due to this, Window.close() also works in such tabs (even though it's not supposed to).

As a consequence, in the current master it's not possible to use site navigation (header links, pagination links, tag/netloc filter links) with this feature (i.e. open such links in the new tab).