[object Object]

← back to Ffepurchasing

fix: add noreferrer to target=_blank external links

118b48e2fc3fb731ede5e19b34af76d67815ac38 · 2026-05-19 17:19:49 -0700 · Steve Abrams

Both index.html (Facebook) and dw-fleet-nav.js (sister-brand
rail) had target="_blank" with rel="noopener" only — adds
noreferrer per the standing fleet hygiene rule.

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

Files touched

Diff

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

    fix: add noreferrer to target=_blank external links
    
    Both index.html (Facebook) and dw-fleet-nav.js (sister-brand
    rail) had target="_blank" with rel="noopener" only — adds
    noreferrer per the standing fleet hygiene rule.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/dw-fleet-nav.js | 2 +-
 public/index.html      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/dw-fleet-nav.js b/public/dw-fleet-nav.js
index 6fa2799..f2b546d 100644
--- a/public/dw-fleet-nav.js
+++ b/public/dw-fleet-nav.js
@@ -235,7 +235,7 @@ header .mobile-toggle.dw-fn-hidden { display: none !important; }
     });
     var s2 = '<div class="dw-fn-section"><h4>Sister Brands</h4>' +
       sister.map(function (f) {
-        return '<a class="dw-fn-link" href="' + f.url + '" target="_blank" rel="noopener">' + f.name + '</a>';
+        return '<a class="dw-fn-link" href="' + f.url + '" target="_blank" rel="noopener noreferrer">' + f.name + '</a>';
       }).join('') + '</div>';
 
     drawer.innerHTML = s1 + s2;
diff --git a/public/index.html b/public/index.html
index e80ea5f..009b9a4 100644
--- a/public/index.html
+++ b/public/index.html
@@ -539,7 +539,7 @@ textarea:focus-visible,
     </div>
     <div class="footer-col">
       <h4>Social</h4>
-      <a class="fb-link" href="https://www.facebook.com/SteveAbramsDesigns.DesignerWallcoverings" target="_blank" rel="noopener">Facebook</a>
+      <a class="fb-link" href="https://www.facebook.com/SteveAbramsDesigns.DesignerWallcoverings" target="_blank" rel="noopener noreferrer">Facebook</a>
     </div>
   </div>
   <div class="footer-bottom">

← 084f9b5 WIP: partial sort hydration from killed agent — finish in ne  ·  back to Ffepurchasing  ·  make server.js self-contained — gate _shared/admin-catalog b f1221c9 →