← back to 1980swallpaper
harden site-nav window.open with noopener,noreferrer
24a538caaf8ede48aa4b3f0859719e889103cb2d · 2026-06-01 07:16:57 -0700 · SteveStudio2
Files touched
Diff
commit 24a538caaf8ede48aa4b3f0859719e889103cb2d
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Mon Jun 1 07:16:57 2026 -0700
harden site-nav window.open with noopener,noreferrer
---
public/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/index.html b/public/index.html
index 42c54f2..a6ea28a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -555,7 +555,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>
← b3e1a60 scrub residual 3rd-party vendor names from products.json sou
·
back to 1980swallpaper
·
add 301 redirect from old .html URLs to clean extensionless 569c890 →