New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross Domain localstorage does not work in Safari #37
Comments
Hi! Yeah I wrote that article -- what specifically didn't work? |
@bluepnume If you try the test files in safari, you would notice that localstorage is being set within the frame. However, localstorage available to the frame is sandboxed and the values stored via iFrame are not exposed to any other page loaded from the domain of the iFrame. Reproduction Steps:
|
did you have any luck getting this to work? |
Jamie,
Unfortunately, I couldn't find a hack to get it working in Safari.
…--
Rahil
On Wed, Feb 14, 2018 at 10:41 PM, Jamie Sellars ***@***.***> wrote:
@rahiparikh <https://github.com/rahiparikh> @bluepnume
<https://github.com/bluepnume>
did you have any luck getting this to work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABy8NUreH2vkQaqi3lpWVpKOb0aFyHL7ks5tU6digaJpZM4QWUUO>
.
|
I was hoping this library would solve my current issues around cross domain cookie/local storage tracking, however it looks like safari will continue to haunt me. Expecting users to check "always allow" in the settings isn't exactly something you can rely on. The default safari setting "Allow from websites I visit", means that you'd first have to visit your iframe'd url in order to have cookies/local storage accessible from the parent website. Google, Facebook, and the other big hitters are able to accomplish this because most of us regularly visit their websites so their cookies can follow us wherever we go. |
I was going through an article written by Daniel Brain on Medium.com that explains how to use POST-ROBOT to perform cross-domain localstorage. The code works for all browsers except safari.
See attached file for sample code. (Change extension from LOG to HTML).
receiver.log
sender.log
The text was updated successfully, but these errors were encountered: