From 2e751998522caefbba8f6f84cfc2246f1cda90f9 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Fri, 7 Feb 2025 12:59:29 -0500 Subject: [PATCH] fix --- index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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