[object Object]

← back to Fabricfriday

add rel="noreferrer" to all target="_blank" external links

ae203c746c9b0edd3216c4b86251dc08b85ab7cb · 2026-05-19 17:19:54 -0700 · Steve Abrams

Pairs noreferrer with the existing noopener on the four DW outbound
links (header Shop DW, hero CTA, footer Shop DW + Trade Program) and on
the JS-generated archive cards so referer headers don't leak.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit ae203c746c9b0edd3216c4b86251dc08b85ab7cb
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue May 19 17:19:54 2026 -0700

    add rel="noreferrer" to all target="_blank" external links
    
    Pairs noreferrer with the existing noopener on the four DW outbound
    links (header Shop DW, hero CTA, footer Shop DW + Trade Program) and on
    the JS-generated archive cards so referer headers don't leak.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/index.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/public/index.html b/public/index.html
index 9bcd634..b66dc30 100644
--- a/public/index.html
+++ b/public/index.html
@@ -308,7 +308,7 @@
     <nav class="header-nav">
       <a href="#picks">Archive</a>
       <a href="#subscribe">Subscribe</a>
-      <a href="https://designerwallcoverings.com" target="_blank" rel="noopener">Shop DW</a>
+      <a href="https://designerwallcoverings.com" target="_blank" rel="noopener noreferrer">Shop DW</a>
       <button class="theme-toggle" id="themeToggle" aria-label="Toggle dark/light mode">
         <!-- Sun -->
         <svg id="iconSun" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5">
@@ -335,7 +335,7 @@
       </div>
       <h1 class="hero-title">This Week's<br><em>Fabric Pick</em></h1>
       <p class="hero-sub">Entoto Stripe &mdash; Ivory &amp; Flax Beige &nbsp;&bull;&nbsp; Lee Jofa Breckenridge &nbsp;&bull;&nbsp; Hand-loomed Ethiopian cotton, 55&rdquo; wide</p>
-      <a href="https://designerwallcoverings.com/products/dwkk-g60746833#sample" class="hero-cta" target="_blank" rel="noopener">Order Memo Sample (free)</a>
+      <a href="https://designerwallcoverings.com/products/dwkk-g60746833#sample" class="hero-cta" target="_blank" rel="noopener noreferrer">Order Memo Sample (free)</a>
     </div>
   </section>
 
@@ -406,8 +406,8 @@
   <footer>
     <div class="footer-logo">Fabric<span>Friday</span> &nbsp;&middot;&nbsp; by Designer Wallcoverings</div>
     <nav class="footer-links">
-      <a href="https://designerwallcoverings.com" target="_blank" rel="noopener">Shop DW</a>
-      <a href="https://designerwallcoverings.com/pages/trade" target="_blank" rel="noopener">Trade Program</a>
+      <a href="https://designerwallcoverings.com" target="_blank" rel="noopener noreferrer">Shop DW</a>
+      <a href="https://designerwallcoverings.com/pages/trade" target="_blank" rel="noopener noreferrer">Trade Program</a>
       <a href="mailto:info@fabricfriday.com">info@fabricfriday.com</a>
       <a href="#subscribe">Subscribe</a>
     </nav>
@@ -468,7 +468,7 @@
     archive.forEach(p => {
       const a = document.createElement('a');
       a.href = `https://designerwallcoverings.com/products/${p.handle}#sample`;
-      a.target = '_blank'; a.rel = 'noopener';
+      a.target = '_blank'; a.rel = 'noopener noreferrer';
       a.className = 'archive-card';
       a.innerHTML = `
         <img src="${p.img}" alt="${p.title}" loading="lazy" onerror="this.style.background='rgba(224,155,62,0.08)';this.style.minHeight='200px'">

← cacc636 hamburger nav: apply canonical pattern from sister-site flee  ·  back to Fabricfriday  ·  gitignore snapshot files + 404-guard backup paths from stati e8ae740 →