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

document.execCommand doesn't work in headless mode #154

Open
david-tejada opened this issue Oct 2, 2024 · 0 comments
Open

document.execCommand doesn't work in headless mode #154

david-tejada opened this issue Oct 2, 2024 · 0 comments

Comments

@david-tejada
Copy link

In my browser extension I use an offscreen page and document.execCommand to read and write to the clipboard. This works fine in headful mode but not in headless. I have tested both document.execCommand("copy") and document.execCommand("paste"). There is no error, they simply do nothing.

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