Skip to content

Comment on Hacking the <a> tag in 100 charactersparent

Comments

Seems entirely expected. When you open in a new tab, you're just taking the (existing) href and opening it in a new tab. No JS executes because you've opened a new tab, completely unrelated to the previous context.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.