[object Object]

← back to Agedwallpaper

Add noreferrer to external _blank links (Facebook anchor + window.open)

0785abc35c293dfa3fbf9b333b9536007f1e37b3 · 2026-05-19 07:58:04 -0700 · SteveStudio2

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

Files touched

Diff

commit 0785abc35c293dfa3fbf9b333b9536007f1e37b3
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date:   Tue May 19 07:58:04 2026 -0700

    Add noreferrer to external _blank links (Facebook anchor + window.open)
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index 87de996..3670c1a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -356,7 +356,7 @@ textarea:focus-visible,
   
     <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">
@@ -424,7 +424,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>

← 5636086 Add clean-URL routes (/about /care /history /sourcing /trade  ·  back to Agedwallpaper  ·  stage2: wire microsite catalog + admin CRUD + grid/list view ef63e84 →