Skip to content

Instantly share code, notes, and snippets.

@matyasfodor
Last active December 27, 2017 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matyasfodor/ab6c92e32a35ebae0bebedff8e7cf569 to your computer and use it in GitHub Desktop.
Save matyasfodor/ab6c92e32a35ebae0bebedff8e7cf569 to your computer and use it in GitHub Desktop.
(function () {
// Monkey patch `webkitRequestFileSystem` to call success callback even if the request failed
(function(webkitRequestFileSystem) {
window.webkitRequestFileSystem = function(type, size, successCallback, errorCallback) {
webkitRequestFileSystem(type, size, successCallback, successCallback);
}
})(window.webkitRequestFileSystem);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment