So I have a site running on Adobe AEM 5.6.1 which checks if localStorage is accessible. The problem for me is it breaks with an "Access Denied" when I access the site from the Desktop version of IE11 (on a HP Elite Pad 900, running windows 8.1 Pro). On the same device it works fine using the metro mode version of IE11.
It also works fine on at least two other computers here, one native PC, one virtualbox:ed on my mac.
I know you are not allowed to access localStorage when running a local html-file but this is running on our server.
What could be different in access rights/security settings for the non-functional browser? Is there any way of checking this programmatically with javascript?
The way to check for local storage programmatically in JS seems to be to always use a try-catch:
http://mathiasbynens.be/notes/localstorage-pattern#comment-9
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With