javascript get clipboard as variable 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);