Y
Hacker News
new
|
ask
|
show
|
jobs
by
megous
2804 days ago
onclick handler and event.preventDefault
1 comments
makomk
2804 days ago
Replacing links with onclick handlers breaks "open in new tab".
link
megous
2804 days ago
You can use window.open to simulate that. If you're fb, you're probably already whitelisted in the popup blocker.
Though I agree it's not ideal.
link