5 ms·onclick handler and event.preventDefaultby megous 8y agoonclick handler and event.preventDefaultmakomk 8y agoReplacing links with onclick handlers breaks "open in new tab".megous 8y agoYou 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.