Skip to content

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

Comments

Is it possible in javascript to make a customisable auto-complete for the address bar? Similar to the way browsers use auto-complete based on your history, this would use auto-complete based on the site's hierarchy. It's different to this site because the input events (user controls) are not triggered when typing in the address bar.

For example, a user wanting to find the elephants page on this web site would be typing http://coolstuff.com/things/elep (and it would suggest) hants by having hants appear after elep as selected text.

Or is there a good reason why address bar events are not part of the dom?

AboutSource Built by g1lg1l

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