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

Unable to use copy function on HTTP websites #157

Closed
Wobblebase opened this issue Dec 12, 2019 · 1 comment
Closed

Unable to use copy function on HTTP websites #157

Wobblebase opened this issue Dec 12, 2019 · 1 comment

Comments

@Wobblebase
Copy link

On HTTP websites navigator.clipboard is undefined. Is there a fix for this?
A simple workaround I found was to use google translate to turn the website into HTTPS.

@birtles
Copy link
Member

birtles commented Dec 13, 2019

Oh, that's a really good point. I never thought about that API being [SecureContext] only.

I will have a look into other APIs to use (from memory trying to do the copying from the background page doesn't work).

@birtles birtles closed this as completed in 78c40a9 Dec 7, 2021
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