function copyToClipboard() { const elem = document.getElementById("feed-output") elem.select() document.execCommand("copy") }