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.
Repository Index
47,133 repositories indexed
1–7 of 7 · Most stars
Array.prototype.includes spec-compliant polyfill
An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
ES5 spec-compliant shim for String.prototype.trim
ES2019 spec-compliant shim for String.prototype.trimRight.
Array.prototype.every spec-compliant polyfill
Array.prototype.some spec-compliant polyfill