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.

Home Page:http://browserstate.github.com/history.js/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox: NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

jacobraccuia opened this issue · comments

NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

I get the above error in Firebug, running latest Mozilla 46.0.1, if I leave my site open after a long period of time. Closing the tab with the site open resolves the issue.

What can I do?

I modified line 2053 of the jquery.history.js and added the code 1014. Firefox throws a 1014 when persistent storage is reached. This fix for safari fixes for firefox too.

`if (e.code === DOMException.QUOTA_EXCEEDED_ERR || e.code === 1014) {`