Y
Hacker News
new
|
ask
|
show
|
jobs
by
franga2000
1427 days ago
The trick works by cancelling the link click event and redirecting somewhere else in JS. The only way to prevent that would be to not allow any redirects in JS, including buttons.