Prevent Storage errors in private browsing mode