Created
December 21, 2017 10:33
-
-
Save benmann/e639241b82fc9d96216d71f93510dcd3 to your computer and use it in GitHub Desktop.
Replace locaStorage in IE for file://
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localStorage = { | |
setItem: function(item, value) { | |
this.localStorage[item] = value; | |
}, | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment