[object Object]

← back to Pastelwallpaper

sister-site nav window.open gets noopener,noreferrer feature flags

f2d3e9168a427354bb61a9969f3a3160fe6f2870 · 2026-06-01 07:41:40 -0700 · Steve Abrams

Files touched

Diff

commit f2d3e9168a427354bb61a9969f3a3160fe6f2870
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 07:41:40 2026 -0700

    sister-site nav window.open gets noopener,noreferrer feature flags
---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 44e8f49..b55bc48 100644
--- a/public/index.html
+++ b/public/index.html
@@ -553,7 +553,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>

← ace7c3b fix: remove leaked backup file from public/ and add *.bak-*  ·  back to Pastelwallpaper  ·  301 redirect legacy /(care|history|sourcing|trade).html + /i 5ba231d →