Skip to content
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

Safeguard document.cookie for sandboxed applications #78

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

donlion
Copy link
Contributor

@donlion donlion commented Mar 29, 2022

In sandbox mode (iframes) even trying to read from document.cookie will throw an error.
Screenshot 2022-03-29 at 14 12 21
Therefore I've wrapped the document.cookie reading in a try/catch block.

In sandbox mode (iframes) even trying to read from document.cookie will throw an error
@donlion donlion changed the title Safeguard document.cookie Safeguard document.cookie for sandboxed applications Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants