krakenjs / post-robot

Cross domain post-messaging on the client side using a simple listener/client pattern.
Apache License 2.0
741 stars 92 forks source link

Cross domain, with 3rd party cookies blocked. #80

Closed ydennisy closed 3 years ago

ydennisy commented 5 years ago

Hello, So it seems this does not work when users block 3rd party tracking - is there any proposed workarounds? I actually have my SDK on two web domains and need for them to share a state - any suggestions?

jcubic commented 3 years ago

It seems that this is not possible. But I would like to know if there is some workaround. I have similar project sysend.js, and have the same issue. Cross-Domain don't work on Safari when 3rd party tracking blocking is enabled.

mnicpt commented 3 years ago

@ydennisy Sorry this is now just being addressed. @jcubic You're correct. This will not work when 3rd party tracking is blocked and unfortunately it is blocked by default on Safari. I am not aware of a workaround. Thanks for responding @jcubic . I'm going to close this. If either of you would like this be be re-opened, please let me know.

jcubic commented 3 years ago

I've just added a note in Readme so anyone knows that this doesn't work in Safari. Found this in some other project that uses LS (found link on StackOverflow).