Hacker News new | ask | show | jobs
by danielwozniak 4976 days ago
Actually you don't need that either.

onclick="window.location='<badurl>';return false;"

If you want to be even more shady you can use the 'onmouseover' event with the same redirect as above. Which defeats the look before you leap approach of hovering before clicking.

onmouseover="window.location='<badurl>';return false;"