# browserstate/history\.js

> 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\.

Canonical: https://starboard.codevetter.com/explore/browserstate/history.js

[Back to Discover](https://starboard.codevetter.com/discover)

![browserstate](https://avatars.githubusercontent.com/u/3504318?v=4&s=40)

browserstate

# history\.js

[View on GitHub
](https://github.com/browserstate/history.js)

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\.

hashchange
html5\-history
html5\-history\-api
javascript
polyfill


11k stars

JavaScript

Updated 2d ago

Created Jan 20, 2011

## Star history

\+0 stars
0\.0% growth


## Detected tools

No detected tools yet\.

## Similar projects

[![OnsenUI](https://avatars.githubusercontent.com/u/5972822?v=4&s=24)

OnsenUI/ OnsenUI

Mobile app development framework and SDK using HTML5 and JavaScript\. Create beautiful and performant cross\-platform mobile apps\. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue\.js\.

JavaScript 8\.9k 60%](https://starboard.codevetter.com/explore/OnsenUI/OnsenUI)[![es\-shims](https://avatars.githubusercontent.com/u/6288429?v=4&s=24)

es\-shims/ es5\-shim

ECMAScript 5 compatibility shims for legacy \(and modern\) JavaScript engines

JavaScript 7\.1k 57%](https://starboard.codevetter.com/explore/es-shims/es5-shim)[![jonobr1](https://avatars.githubusercontent.com/u/220033?v=4&s=24)

jonobr1/ two\.js

A renderer agnostic two\-dimensional drawing api for the web

JavaScript 8\.8k 60%](https://starboard.codevetter.com/explore/jonobr1/two.js)[![isomorphic\-git](https://avatars.githubusercontent.com/u/34904042?v=4&s=24)

isomorphic\-git/ isomorphic\-git

A pure JavaScript implementation of git for node and browsers\!

JavaScript 8\.4k 59%](https://starboard.codevetter.com/explore/isomorphic-git/isomorphic-git)[![verekia](https://avatars.githubusercontent.com/u/522007?v=4&s=24)

verekia/ js\-stack\-from\-scratch

🛠️⚡ Step\-by\-step tutorial to build a modern JavaScript stack\.

JavaScript 20k 61%](https://starboard.codevetter.com/explore/verekia/js-stack-from-scratch)[![Khan](https://avatars.githubusercontent.com/u/15455?v=4&s=24)

Khan/ aphrodite

Framework\-agnostic CSS\-in\-JS with support for server\-side rendering, browser prefixing, and minimum CSS generation

JavaScript 5\.3k 58%](https://starboard.codevetter.com/explore/Khan/aphrodite)[![greenscreens\-io](https://avatars.githubusercontent.com/u/17909437?v=4&s=24)

greenscreens\-io/ webcomponents

WebComponents for Bootstrap 5

JavaScript 5 59%](https://starboard.codevetter.com/explore/greenscreens-io/webcomponents)[![google](https://avatars.githubusercontent.com/u/1342004?v=4&s=24)

google/ WebFundamentals

Former git repo for WebFundamentals on developers\.google\.com

JavaScript 14k 59%](https://starboard.codevetter.com/explore/google/WebFundamentals)
