On 07/23/2014 10:55 AM, David Carter wrote:
All well and good, but Safari "Private Browsing" appears to disable local storage.
// write prefs to local storage if (window.localStorage) { rcmail.local_storage_set_item('prefs.larry', prefs); }
Google confirms this, window.localStorage exists, but writing to it fails. We'd need to use better feature detection, e.g.:
try { localStorage.setItem('test', 'test'); localStorage.removeItem('test'); return true; } catch(e) { return false; }
Please, create a ticket.