Skip to content

Comment on I took "abusing the HTML5 History" to the next level.parent

Comments

It's actually not using HTML5 history like the links before. It's just doing hash manipulation.

It it used history.replaceState it could not only manipulate the URL completely but also it wouldn't make history events so the back button would work!

You don't need the HTML5 history API for that either.

    location.replace("#...");

I agree with you guys.

AboutSource Built by g1lg1l

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