js set clipboard data 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);