diff --git a/glance-system/glance-kisfenyo.yaml b/glance-system/glance-kisfenyo.yaml index d75d55a..767e692 100644 --- a/glance-system/glance-kisfenyo.yaml +++ b/glance-system/glance-kisfenyo.yaml @@ -254,18 +254,18 @@ data: .sort((a,b) => b.s - a.s) .slice(0, MAX_RESULTS); - openResult(resultsNow, activeIndex, e.ctrlKey || e.metaKey); + openResult(resultsNow, activeIndex); } }; overlay.onclick = (e) => { if (e.target === overlay) closeOverlay(); }; } - function openResult(results, i, newTab) { + function openResult(results, i) { const r = results[i]; if (!r) return; closeOverlay(); - window.open(r.url, newTab ? '_blank' : '_self'); + window.open(r.url, '_blank', 'noopener,noreferrer'); } function closeOverlay() {