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

Prevent Plies from Spamming Browser History #16773

Closed
icp1994 opened this issue Jan 14, 2025 · 3 comments
Closed

Prevent Plies from Spamming Browser History #16773

icp1994 opened this issue Jan 14, 2025 · 3 comments

Comments

@icp1994
Copy link

icp1994 commented Jan 14, 2025

Is it necessary to push every half move to history while traversing a game?

@ornicar
Copy link
Collaborator

ornicar commented Jan 14, 2025

No, and that's not what we're doing. We use history.replaceState not pushState.

@icp1994
Copy link
Author

icp1994 commented Jan 14, 2025

I see. So not possible for browsers to go through a 40 move games without creating 80 history entries?

@icp1994
Copy link
Author

icp1994 commented Jan 14, 2025

Dupe of #11349

@icp1994 icp1994 closed this as completed Jan 14, 2025
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

No branches or pull requests

2 participants