diff --git a/index.js b/index.js index 42d1bb4..26e7c03 100644 --- a/index.js +++ b/index.js @@ -10,4 +10,10 @@ document.querySelector('.msgs').appendChild(msgC1); document.querySelector('.msgs').appendChild(msgC2); } -})() \ No newline at end of file +})() + +function copy() { + let addr = 'play.dervland.net:7777'; + navigator.clipboard.writeText(addr); + alert(addr); +} \ No newline at end of file