[object Object]

← back to NEW SKU Viewer

public: add rel=noopener noreferrer to product-modal external link

de911b90c02621977fad9a33aca002c93c62b17a · 2026-05-19 21:19:00 -0700 · Steve Abrams

The only target=_blank anchor in the page (product modal "View Product"
link) was missing rel=noopener noreferrer. Closes window.opener and
strips Referer for the popup.

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

Files touched

Diff

commit de911b90c02621977fad9a33aca002c93c62b17a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue May 19 21:19:00 2026 -0700

    public: add rel=noopener noreferrer to product-modal external link
    
    The only target=_blank anchor in the page (product modal "View Product"
    link) was missing rel=noopener noreferrer. Closes window.opener and
    strips Referer for the popup.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 7b4fd61..6fac2a8 100644
--- a/public/index.html
+++ b/public/index.html
@@ -703,7 +703,7 @@
                                 <div style="font-family: monospace; font-size: 11px; color: #666; margin-bottom: 8px;">
                                     Code: ${product.code || 'N/A'}
                                 </div>
-                                <a href="${product.url}" target="_blank" style="
+                                <a href="${product.url}" target="_blank" rel="noopener noreferrer" style="
                                     display: inline-block;
                                     background: #667eea;
                                     color: white;

← 6c6b864 gitignore: broaden snapshot patterns (*.bak.*, *.pre-*, *.or  ·  back to NEW SKU Viewer  ·  server: 404-guard snapshot paths + server-side sort on /api/ b85fbce →