browserstate/history.js
View on GitHub ↗ ★ 10,642 JavaScript
History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.
12 mentions on Hacker News by 11 people: 2 stories, 10 comments · first 2011-03-07 · latest 2017-09-12
20082026
-
I just stumbled on a note from the abandoned project [History.js]( https://github.com/browserstate/history.js/ ): > Despite History.js being one of the most popular JavaScript libraries there is, and has been used by even…
comment by cdaven · 2017-09-12 · in Give away your code, but never your time -
▲ 2
HTML 5 History API: modify a website's URL without a full page refreshstory by getcontext · 2015-09-01 · 0 comments
-
▲ 5
History.js – HTML5 State APIs in ALL Browsersstory by tejasmanohar · 2015-03-01 · 0 comments
-
…The old way, that still works: https://github.com/asual/jquery-address The better way, preferred: https://github.com/browserstate/history.js or https://github.com/defunkt/jquery-pjax... . not sure which is better to be honest. Feel free to…
comment by xpose2000 · 2014-05-27 · in Googlebot's recent improvements might revolutionize web development -
…with a nice polyfill[1] [0]: https://developer.mozilla.org/en-US/docs/DOM/Manipulating_th... [1]: https://github.com/balupton/history.js
comment by lloeki · 2012-12-03 · in Javascript secrets of Bret Victor's homepage -
You should check this out: https://github.com/balupton/History.js
comment by Skoofoo · 2012-10-21 · in Single page apps in depth (new free book) -
I recently came across history.js https://github.com/balupton/History.js/ which will use pushState where supported and falls back to hashbangs otherwise. It was overkill for my project, (we were already relying on several other advanced…
comment by nthitz · 2012-05-30 · in It's About The Hashbangs -
…a modern web app to deal with location.hash fallback and pushState, replaceState etc is to use https://github.com/balupton/History.js . Comments/Corrections are welcome.
comment by xpose2000 · 2012-02-21 · in Twitter to move away from Hashbangs -
Would be cool if you added pushState or /#/ history. You can for example use history.js: https://github.com/balupton/history.js
comment by denysonique · 2012-01-25 · in Show HN: We made an addictive way to browse pictures on reddit -
…through AJAX get tricky when you can't access the container frame. Maybe look into history.js ( https://github.com/balupton/History.js/ ) and see if it works in a Facebook app?
comment by LocalPCGuy · 2012-01-08 · in Bootstrap for Facebook apps -
Try this : https://github.com/balupton/History.js
comment by lazylland · 2011-07-03 · in Nobody Understands REST or HTTP -
…and degradation with less effort. This article goes into the issues and the alternatives: https://github.com/balupton/history.js/wiki/Intelligent-Stat...
comment by balupton · 2011-03-07 · in JavaScript and URLs