Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rel="noopener" to social links #1678

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

tomdiggle
Copy link
Contributor

What?

This PR adds an rel=“noopener” attribute to the social media links to help avoid any performance or security issues when using the target=“_blank” attribute. See https://web.dev/external-anchors-use-rel-noopener/

To prevent the new page from being able to access the window.opener property and ensures it runs in a separate process.
@bigbot
Copy link

bigbot commented May 18, 2020

Autotagging @bigcommerce/storefront-team @davidchin

Copy link
Contributor

@bookernath bookernath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@bookernath bookernath merged commit fdf5efe into bigcommerce:master May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants