Hacker News new | ask | show | jobs
by megous 2804 days ago
onclick handler and event.preventDefault
1 comments

Replacing links with onclick handlers breaks "open in new tab".
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.