Support » Plugin: WooCommerce External Product New Tab » nofollow noopener noreferrer for External Links

  • Hi, great plugin! I was using this plugin with external links to off site products and using Google’s Lighthouse speedtests. I noticed Lighthouse warning flags for having target=”_blank” with the external links but not the rel=”noopener noreferrer” tags to prevent XSS (cross-site scripting) attacks.

    You could please consider the following in future updates in wc-external-product-new-tab.php?
    1. Change rel=”nofollow” on lines 180 and 215 to rel=”nofollow noopener noreferrer”
    2. If needed, you could also add conditional logic depending if the product links went off site or stayed on site.

    Thanks! Great plugin!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.