|
|
|
|
|
by wldlyinaccurate
4644 days ago
|
|
> 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. |
|
Still, the 100ms delay isn't ideal, and the open in a new tab paradigm greatly simplifies things.