Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread DOM Exception Error (iphone browser)
Sun, Jun 5 2016 9:41 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< The GitHub link mentions store.disabled. Looks ideal. >>

That's their custom code that's essentially just doing a try..catch in JS and setting a disabled property accordingly.  The problem is that a general exception trap is not sufficient - the private mode issue looks just like if you *actually* exceeded the available space for local storage.  So, this exception <> only private mode/storage disabled.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jun 6 2016 4:25 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> << The GitHub link mentions store.disabled. Looks ideal. >>
>
> That's their custom code that's essentially just doing a try..catch
> in JS and setting a disabled property accordingly.  The problem is
> that a general exception trap is not sufficient - the private mode
> issue looks just like if you actually exceeded the available space
> for local storage.  So, this exception <> only private mode/storage
> disabled.

Oops! I didn't scroll further than what appeared to be the ideal
solution. Fair enough - the sample there is easy enough to replicate
for anyone who needs this, and they could set a global so the exception
doesn't need to be done more than once.

--

Matthew Jones
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image