Title: Google Lighthouse Security Problem
Last modified: April 7, 2019

---

# Google Lighthouse Security Problem

 *  Resolved [vernian](https://wordpress.org/support/users/vernian/)
 * (@vernian)
 * [7 years ago](https://wordpress.org/support/topic/google-lighthouse-security-problem/)
 * Lighthouse shows:
    Links to cross-origin destinations are unsafe Add `rel="noopener"`
   or `rel="noreferrer"` to any external links to improve performance and prevent
   security vulnerabilities. Learn more.
 * /?utm_source=WordPress&utm_medium=link&utm_campaign=inthewild(socialsnap.com)
 * How can I add noreferrer your plugins link? thanks you for your interest.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Social Snap](https://wordpress.org/support/users/socialsnap/)
 * (@socialsnap)
 * [7 years ago](https://wordpress.org/support/topic/google-lighthouse-security-problem/#post-11405578)
 * Hi,
 * Thank you for pointing this out.
 * I wouldn’t call this a security issue, because the link goes to our website and
   not an unknown URL. Still, you are absolutely right that “noopener” should be
   added. Here’s how you can do that:
 * Add the following PHP code at the bottom of your theme function.php file (or 
   even better in your child theme’s function.php file):
 *     ```
       function socialsnap_new_signature() {
       	return '<div class="ss-powered-by">Powered by <a href="https://socialsnap.com/?utm_source=WordPress&utm_medium=link&utm_campaign=inthewild" target="_blank" rel="nofollow noopener"><i class="ss ss-socialsnap"></i>Social Snap</a></div><!-- END .ss-powered-by -->';
       }
       add_filter( 'socialsnap_signature', 'socialsnap_new_signature' );
       ```
   
 * Please note that this change will be included with our next plugin update.
 * Let me know if you have any other questions.

Viewing 1 replies (of 1 total)

The topic ‘Google Lighthouse Security Problem’ is closed to new replies.

 * ![](https://ps.w.org/socialsnap/assets/icon.svg?rev=1869219)
 * [Social Snap — Social Share Buttons & Click to Tweet](https://wordpress.org/plugins/socialsnap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/socialsnap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/socialsnap/)
 * [Active Topics](https://wordpress.org/support/plugin/socialsnap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/socialsnap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/socialsnap/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Social Snap](https://wordpress.org/support/users/socialsnap/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/google-lighthouse-security-problem/#post-11405578)
 * Status: resolved