history.js
history.js copied to clipboard
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...
Hi, The standard for our site is to remove trailing slashes in URLs with a permanent redirect. However, the History control seems to be always appending a slash before the...
Finally there seems some tech out to replace the manual cross browser testing infrastructure. If only they support mobile browsers too. https://github.com/microsoft/playwright however what is needed is an actual headful...
If you do, for example: pushState({}, 'title', '?foo=bar'); pushState({}, 'title', ''); The second call to pushState is ignored because in History.normalizeState() it does this: newState.url = History.getFullUrl(oldState.url?decodeURIComponent(oldState.url):(document.URL||document.location.href)); The assumption here...
I have integrated Vuejs Framework to Store Data from API into some variable and showing it on frontend. Upon clicking a link and reaching to the new page everything is...
Buggy onPopState calls in case of section change
In case of section change in the current page I call a link like: http://localhost:8080/page/xxxid#section-How+does+Test+work%3F We use also tab changes on the page, which look like http://localhost:8080/page/xxxid onPopState state function...
It would be nice functionality to be able to retrieve the state by suid, which is added to URL, as sometimes there are problems to trigger the statechange in old...
@andreasbernhard been using [docpad](http://docpad.org) to build javascript projects successfully for a few projects now: - https://github.com/balutpon/jquery-scrollto - https://github.com/bevry/jquery-slidescrollpanel - https://github.com/bevry/query-engine - https://github.com/rstacruz/js2coffee Happy to implement this for this project as...
It should only cause one, with the intermediate states being ignored.