← back to 1900swallpaper
add explicit noopener,noreferrer to window.open external nav
a00a92b801296940a688cd66c92190101417d200 · 2026-06-01 07:11:12 -0700 · steve
Files touched
Diff
commit a00a92b801296940a688cd66c92190101417d200
Author: steve <steve@designerwallcoverings.com>
Date: Mon Jun 1 07:11:12 2026 -0700
add explicit noopener,noreferrer to window.open external nav
---
public/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/index.html b/public/index.html
index b1cb84f..9534c63 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>
← 8799439 facets counts now reflect q+tag filters, add legacy .html ->
·
back to 1900swallpaper
·
Remove Big Red widget — never UX-worked, collided with Help 31c30ad →