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

Clipboard API might fail copy #35

Open
foxfire52 opened this issue Oct 26, 2024 · 0 comments
Open

Clipboard API might fail copy #35

foxfire52 opened this issue Oct 26, 2024 · 0 comments

Comments

@foxfire52
Copy link

foxfire52 commented Oct 26, 2024

Under certain conditions Clipboard API might fail. Lack of a Secure Context causes silent failure of navigator.clipboard.writeText() copy operation.
Current code needs stronger error checking and a fallback option if a Secure Context is not available.
Issue xtekky/gpt4free#2287
Pull request xtekky/gpt4free#2302

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

1 participant