JS-Redirection-Mobile-Site
JS-Redirection-Mobile-Site copied to clipboard
Error when cookies disabled
When cookies are disabled in Chrome, session storage also disabled in such a way that it throws an exception when access is attempted. This terminates the script, and prevents redirection of mobile browsers.
Uncaught SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.