jekyll-target-blank icon indicating copy to clipboard operation
jekyll-target-blank copied to clipboard

Remove rel="noopener noreferrer" from default config

Open xplosionmind opened this issue 3 years ago • 2 comments

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.

xplosionmind avatar May 13 '21 13:05 xplosionmind

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

keithmifsud avatar May 13 '21 14:05 keithmifsud

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)

xplosionmind avatar May 14 '21 06:05 xplosionmind