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.
--
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users