10 lines to copy any text to the clipboard

Damien Cassou damien at cassou.me
Fri Aug 4 12:28:10 UTC 2017

Trishul Goel <trishul.goel at gmail.com> writes:
> Refer following
> https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Interact_with_the_clipboard

Thank you. I read this before but that doesn't help as this requires an
existing text input. On #webextensions at irc.mozilla.org, someone
recommend that I try a ClipbordEvent(). I will try but it might not fit
my use case as the code is not directly reacting to a user event.

Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

More information about the Dev-addons mailing list