Skip to content

Comment on Using pushState? Make sure your links are fineparent

Comments

Actually, there are. If you override the click handler on a link, you'll override the Cmd-click handler as a side-effect.

My site does this (by accident), and I eventually had to ask StackOverflow to find that Sammy.JS (my client-side router) was doing it.

Also, Quora does it.

(It's infuriating when I try to middle-click a run of interesting-looking questions and it "steals" the clicks.)

AboutSource Built by g1lg1l

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