diff --git a/clip/index.html b/clip/index.html index 063c9dd..23edc72 100644 --- a/clip/index.html +++ b/clip/index.html @@ -51,7 +51,13 @@ const url = await cleanURL(content); navigator.clipboard.writeText(url); - output.textContent = 'Cleaned URL: ' + url; + + const link = document.createElement('a'); + link.href = url; + link.textContent = url; + link.target = '_blank'; + + output.innerHTML = 'Cleaned URL: ' + link.outerHTML; output.innerHTML += '

Copied to the clipboard' }