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

Remove rel="noopener noreferrer" from default config #58

Open
xplosionmind opened this issue May 13, 2021 · 2 comments
Open

Remove rel="noopener noreferrer" from default config #58

xplosionmind opened this issue May 13, 2021 · 2 comments

Comments

@xplosionmind
Copy link

xplosionmind commented May 13, 2021

As seen in About rel=noopener, all modern browsers now implicitly set both rel="noopener" and rel="noreferrer" by default.

Therefore, it should be nice to remove the automatic addition of rel="noopener noreferrer" and leave target="_blank" only.

The user should be able to ad noopener and noreferrer from their _config.yml.

@keithmifsud
Copy link
Owner

Thanks, @xplosionmind ... but I think it's a wee bit early to assume all users have modern browsers?

@xplosionmind
Copy link
Author

You are right, sorry…
It’s just that I really need to have some other a attributes, as mentioned in #54, and I hoped this could be a quicker workaround, since rel="noopener noreferrer" is not useful anymore.

Nevertheless, as you pointed out, the vast majority of browsers around still needs the two rels to be specified.

Thanks a lot for your work and your quick response!

Best,
T

(I will live the issue open for the future)

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

No branches or pull requests

2 participants