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

Where is localStorage? #1131

Closed
107295472 opened this issue Oct 23, 2024 · 3 comments
Closed

Where is localStorage? #1131

107295472 opened this issue Oct 23, 2024 · 3 comments
Labels
question Questions related to rod

Comments

@107295472
Copy link

No description provided.

@107295472 107295472 added the question Questions related to rod label Oct 23, 2024
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.116.2

Please fix the format of your markdown:

1:1 MD033/no-inline-html Inline HTML [Element: nil]

generated by check-issue

@ysmood
Copy link
Member

ysmood commented Oct 23, 2024

You can use Page.Eval to get or set localStorage.

@107295472
Copy link
Author

localStorage := page.MustEval(k => window.localStorage.getItem("pro__Access-Token"))
localStorage is gson.json, but why is one of the values ​​in get nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions related to rod
Projects
None yet
Development

No branches or pull requests

2 participants