Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Double-clicking the link in preview page burns a view #2482

Open
pbirkants opened this issue Sep 2, 2024 · 2 comments
Open

Double-clicking the link in preview page burns a view #2482

pbirkants opened this issue Sep 2, 2024 · 2 comments

Comments

@pbirkants
Copy link

🚀 Feature Request

When using preview page, the link "Click Here to Proceed" should have "double-submit" protection.

🔈 Motivation

Currently it's easy to burn a view by double-clicking the link quick enough. The browser cancels the first request and sends another, but by that time it might already be processed by server. The time window for double-clicking is greatly increased if the user has a slow connection.
While it's surely not viable to prevent this completely, blocking or removing the link element with JS would help reduce accidental burning of views.
Possibly also relevant to #2225

Copy link

github-actions bot commented Sep 2, 2024

Hello @pbirkants, thanks for contributing to the Password Pusher community! We will respond as soon as possible.

@pglombardo
Copy link
Owner

The ""double-submit" protection" is a good idea. I'll see if I can add this soon. Thanks for reporting!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants