DEV Community

Discussion on: How to copy text to the clipboard with Javascript

Collapse
tqbit profile image
tq-bit Author

I think chrome extensions run in their own sandbox environment. Instead of requesting permission in the browser, you need to 'proxy' them towards the env plugins run within.

There's this section in the docs describing how to do so, I hope it'll help you: developer.chrome.com/docs/extensio...

Some comments have been hidden by the post's author - find out more