Tuesday, 27 August 2013

Bug with IE local storage implementation

Bug with IE local storage implementation

Within internet explorer 9 & 10, the local storage implementation is
busted (great thread here: Bug with Chrome's localStorage implementation?)
Does anybody know of a way to stop the local storage listener from firing
on tabs that initiated the change within internet explorer?
(function(){
if (window.addEventListener) {
window.addEventListener('storage', someListener, false);
} else {
window.attachEvent('onstorage', someListener)
}
}());

No comments:

Post a Comment