← back to Whatsmystyle
add rel="noopener noreferrer" to fav-share fallback link
41ce55c4115267e0e2ebaa77fdb21ebe662e1473 · 2026-05-19 21:40:37 -0700 · SteveStudio2
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 41ce55c4115267e0e2ebaa77fdb21ebe662e1473
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Tue May 19 21:40:37 2026 -0700
add rel="noopener noreferrer" to fav-share fallback link
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
public/js/app.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/js/app.js b/public/js/app.js
index 1a3e733..295af83 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -386,7 +386,7 @@ $('#fav-share-btn')?.addEventListener('click', async () => {
const j = await r.json();
const url = `${location.origin}${j.url}`;
try { await navigator.clipboard.writeText(url); $('#fav-share-out').textContent = 'Copied: ' + url; }
- catch { $('#fav-share-out').innerHTML = `Share URL: <a href="${url}" target="_blank">${url}</a>`; }
+ catch { $('#fav-share-out').innerHTML = `Share URL: <a href="${url}" target="_blank" rel="noopener noreferrer">${url}</a>`; }
});
// Delta toast (tick 24) — show top-3 taste movers after a duel pick
← e7e9c8f snapshot — gitify backup 2026-05-19
·
back to Whatsmystyle
·
gitignore snapshot-file patterns + 404-guard middleware cabe76a →