how to copy text in java script then paste it 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);