Comment

Comment by wldlyinaccurate

> The alternative is to hijack the click event, wait for say 100ms, and then load the new page via JavaScript, but that also break the open in a new tab functionality.

How does it break the open in new tab functionality? You can detect if the user was Cmd/Ctrl-clicking, or using the middle mouse button. I've done this on many sites and it works fine.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton