javascript - html storage safari incognito mode, angular2 -


i not able save data in html local / session storage when safari in private mode in ios in iphone 6 plus. can me why happening. possible on ride , make store data?

possible duplicate : html5 localstorage error safari: "quota_exceeded_err: dom exception 22: attempt made add storage exceeded quota.".

you can write script , on exception ask user open website in normal mode or in different browser

try {         localstorage.setitem("check", "test");         console.log("works!!");     } catch (exception) {         console.log('browser / mode not supported');     } 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -