← back to Saloonwallpaper
Add noopener,noreferrer to window.open external nav link
f6da570493bc0bd9acbf9d6bba91ceb6e9f62984 · 2026-05-19 08:01:17 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit f6da570493bc0bd9acbf9d6bba91ceb6e9f62984
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue May 19 08:01:17 2026 -0700
Add noopener,noreferrer to window.open external nav link
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
public/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/index.html b/public/index.html
index 06793c4..266c1f5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -389,7 +389,7 @@ textarea:focus-visible,
const isCurrent = n.dataset.slug === SLUG;
n.querySelector('circle').setAttribute('fill-opacity', isCurrent ? '1' : '0.55');
});
- n.addEventListener('click', () => window.open('https://' + n.dataset.slug + '.com', '_blank'));
+ n.addEventListener('click', () => window.open('https://' + n.dataset.slug + '.com', '_blank', 'noopener,noreferrer'));
});
})();
</script>
← 2e072c9 Add clean-URL routes for /about /history /care /sourcing /tr
·
back to Saloonwallpaper
·
wire catalog from dw_unified — admin CRUD module + PG read-p 7984bcf →