history.js
history.js copied to clipboard
Any way to use history.js without the sessionStorage?
We have seen many instances Failed to execute 'setItem' on 'Storage': Setting the value of 'History.store' exceeded the quota.
Stacktrace
Error: Failed to execute 'setItem' on 'Storage': Setting the value of 'History.store' exceeded the quota.
at Error (native)
at d.onUnload
The QuotaExceededError seems to happen a lot on Chrome 39+ for both Windows and Mac. I wonder if there is a way to initiate History.js with a feature flag to disable the use of sessionStorage. If the quota or localstorage is not working, the history api can still work with pushstate for the current session.