¡@

Home 

javascript Programming Glossary: replacestate

Remove fragment in URL with JavaScript w/out causing page reload

http://stackoverflow.com/questions/269044/remove-fragment-in-url-with-javascript-w-out-causing-page-reload

share improve this question As others have mentioned replaceState in HTML5 can be used to remove the URL fragment. Here is an.. off the remaining '#' in HTML5 if typeof window.history.replaceState 'function' history.replaceState '' window.location.href.slice.. if typeof window.history.replaceState 'function' history.replaceState '' window.location.href.slice 0 1 share improve this answer..

Updating address bar with new URL without hash or reloading the page

http://stackoverflow.com/questions/3338642/updating-address-bar-with-new-url-without-hash-or-reloading-the-page

refreshing page . For a more in depth look into pushState replaceState popstate aka the HTML5 History API see the MDN docs . TL DR..

Good tutorial for using HTML5 History API (Pushstate?)

http://stackoverflow.com/questions/4015613/good-tutorial-for-using-html5-history-api-pushstate

including maintained support for data titles pushState and replaceState functionality . You can read more about History.js here https..

window.location.hash = “ ”; prevent scrolling to the top?

http://stackoverflow.com/questions/4715073/window-location-hash-prevent-scrolling-to-the-top

Using HTML5 pushState() in IE9

http://stackoverflow.com/questions/5527617/using-html5-pushstate-in-ie9

gracefully supports the HTML5 History State APIs pushState replaceState onPopState in all browsers. Including continued support for.. all browsers. Including continued support for data titles replaceState. Supports jQuery MooTools and Prototype. For HTML5 browsers..

How can I change the page URL without refreshing the page?

http://stackoverflow.com/questions/6118693/how-can-i-change-the-page-url-without-refreshing-the-page

gracefully supports the HTML5 History State APIs pushState replaceState onPopState in all browsers. Including continued support for.. all browsers. Including continued support for data titles replaceState. Supports jQuery MooTools and Prototype. For HTML5 browsers..

Emulate/polyfill history.pushstate() in IE

http://stackoverflow.com/questions/6622449/emulate-polyfill-history-pushstate-in-ie

gracefully supports the HTML5 History State APIs pushState replaceState onPopState in all browsers. Including continued support for.. all browsers. Including continued support for data titles replaceState. Supports jQuery MooTools and Prototype. For HTML5 browsers..

using javascript to mark a link as visited

http://stackoverflow.com/questions/795654/using-javascript-to-mark-a-link-as-visited

the current URL current_url window.location.href # use replaceState to push a new entry into the browser's history history.replaceState.. to push a new entry into the browser's history history.replaceState desired_url # use replaceState again to reset the URL history.replaceState.. browser's history history.replaceState desired_url # use replaceState again to reset the URL history.replaceState current_url Using..

Reading window.history.state object in Webkit

http://stackoverflow.com/questions/8439145/reading-window-history-state-object-in-webkit

gracefully supports the HTML5 History State APIs pushState replaceState onPopState in all browsers. Including continued support for.. all browsers. Including continued support for data titles replaceState. Supports jQuery MooTools and Prototype. For HTML5 browsers..