6 ms·
Quick fix is _Search and Replace_ in your whole project, via your favourite editor, from, > target="_blank" to > target="_blank" rel="noopener noreferrer" W
by Tehnix 9y ago
Quick fix is _Search and Replace_ in your whole project, via your favourite editor, from,
> target="_blank"
to
> target="_blank" rel="noopener noreferrer"
Which should not break anything unless you have some weird HTML lying around.
- JamieF1 9y agoYep you're right. I wrote a post about it before on Medium and made an extension that automatically puts noreferrer in there for you. Here's the link: https://medium.com/@Jamie_Farrelly/browsers-are-broken-but-nobody-cares-all-it-took-was-1-line-of-code-to-fix-it-f8af13c18cff https://medium.com/@Jamie_Farrelly/browsers-are-broken-but-n...
- kccqzy 9y agoDoes that also work on the <base> element? Browsing through MDN it seems like it doesn’t.