perf: Add rel="noopener" on external links
See https://developers.google.com/web/tools/lighthouse/audits/noopener
This commit is contained in:
parent
488cdcd780
commit
bd00fd76ec
2 changed files with 4 additions and 4 deletions
|
@ -7,11 +7,11 @@
|
||||||
<a rel="author" target="blank"
|
<a rel="author" target="blank"
|
||||||
href="http://olivierhaquette.fr">Olivier Haquette</a>
|
href="http://olivierhaquette.fr">Olivier Haquette</a>
|
||||||
·
|
·
|
||||||
<a target="_blank"
|
<a rel="noopener" target="_blank"
|
||||||
href="https://www.facebook.com/pages/AllTube-Download/571380966249415"
|
href="https://www.facebook.com/pages/AllTube-Download/571380966249415"
|
||||||
title="{t}AllTube Download on Facebook{/t}">{t}Like us on Facebook{/t}</a>
|
title="{t}AllTube Download on Facebook{/t}">{t}Like us on Facebook{/t}</a>
|
||||||
·
|
·
|
||||||
<a href="https://github.com/Rudloff/alltube">{t}Get the code{/t}</a>
|
<a rel="noopener" target="_blank" href="https://github.com/Rudloff/alltube">{t}Get the code{/t}</a>
|
||||||
·
|
·
|
||||||
{t}Based on{/t} <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
|
{t}Based on{/t} <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<a class="twitter" href="http://twitter.com/home?status={base_url|urlencode}" title="{t}Share on Twitter{/t}" target="_blank">
|
<a class="twitter" rel="noopener" href="http://twitter.com/home?status={base_url|urlencode}" title="{t}Share on Twitter{/t}" target="_blank">
|
||||||
<div class="twittermask"></div></a>
|
<div class="twittermask"></div></a>
|
||||||
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" title="{t}Share on Facebook{/t}" target="_blank"><div class="facebookmask"></div></a>
|
<a class="facebook" rel="noopener" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" title="{t}Share on Facebook{/t}" target="_blank"><div class="facebookmask"></div></a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue