cross-domain-local-storage
cross-domain-local-storage copied to clipboard
Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
Hello, I have this problem.
xdLocalStoragePostMessageApi.js:21:
Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
I tried to use it crossdomain. Domain1 inits xdLocalStorage with option:
iframeUrl:'http://Domain2/index.html',
Any solution?
This error is thanks to Chrome content setting: Block third-party cookies and site data
Is possible to implement third party cookies detection or add some fallback for crossdomain usage?
Intresting.. I've managed the re produce. The question is was is the desired functionality in this case? I can't fallback to use cookies because it will lose all of the data that was already saved on the iframe's localstorage. What do you mean by third party cookies detection? let the user know he needs to change its settings?