Skip to content

Unable To Load Game When Third-Party Cookies Blocked #105

@donovangini

Description

@donovangini

Hey there! I enjoy playing the game but noticed it not working for me recently.

I have Chrome set to block third party cookies. However, when I begin playing in a game, I get a Loading screen and cannot play. If I allow cookies for the site, it works.

I inspected the console and saw the following:

Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

Something seems to be trying to access local storage from a third party. I haven't looked too much at the code, but it seems to be due to the fact that the page is being rendered as an iframe with a different origin. If I visit the underlying site (within the iframe) it works fine even with 3rd party cookies blocked. In the next few years, Chrome will be phasing out third-party cookies and this sort of behavior within an iframe because of potential security/privacy issues.

Wanted to bring this to your attention so you could address if you want to!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions