copy to clipboard js firefox code example
Example: how to access clipboard via js
navigator.clipboard.readText().then(clipText =>
document.getElementById("outbox").innerText = clipText);
navigator.clipboard.readText().then(clipText =>
document.getElementById("outbox").innerText = clipText);