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

Normalize document.cookie #1

Open
antross opened this issue Jul 12, 2018 · 1 comment
Open

Normalize document.cookie #1

antross opened this issue Jul 12, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@antross
Copy link
Owner

antross commented Jul 12, 2018

Not sure what the best approach is here. Some ideas:

  1. Recommend running with cookies disabled
  2. Shim document.cookie to always return the empty string
  3. Shim document.cookie to start as the empty string, but support writes
@antross
Copy link
Owner Author

antross commented Jul 12, 2018

Currently leaning toward a variation of idea 1 - run in private mode.

Note 1: the tracer extension must be explicitly allowed to run in private mode to still work.

Note 2: Edge and Firefox automatically isolate data between tabs, but Chrome shares data between tabs and requires fully exiting private mode before data is cleared.

@antross antross added the enhancement New feature or request label Jul 13, 2018
antross added a commit that referenced this issue Jul 24, 2018
Refs #1. May need some additional work for `document.cookie` as the shim currently just ignores writes.

Emulation for `sessionStorage` and `localStorage` is fully in memory and should be complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant