diff --git a/main.js b/main.js index 7ce308f..9e149a9 100644 --- a/main.js +++ b/main.js @@ -772,7 +772,11 @@ function showlinkdialog(link) a.setAttribute("href", link); a.setAttribute("target", "_blank"); div.onclick = removelinkdialog; - a.innerText = link; + a.innerText = "Open on " + + link.replace("https://", "") + .replace("http://", "") + .replace("www.", "") + .replace(/\/.*/, ""); } else {