3,240,867
edits
mNo edit summary |
mNo edit summary |
||
Line 35: | Line 35: | ||
document.addEventListener("dblclick", function () { | document.addEventListener("dblclick", function () { | ||
var w = String(window.getSelection()); | var w = String(window.getSelection()); | ||
if (w){ | var urlParams = new URLSearchParams(window.location.search); | ||
if (w && !urlParams.has("veaction")){ | |||
location.href="https://lsj.gr/index.php?search=" + encodeURIComponent(w); | location.href="https://lsj.gr/index.php?search=" + encodeURIComponent(w); | ||
} | } | ||
}); | }); |