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"
|
||||
href="http://olivierhaquette.fr">Olivier Haquette</a>
|
||||
·
|
||||
<a target="_blank"
|
||||
<a rel="noopener" target="_blank"
|
||||
href="https://www.facebook.com/pages/AllTube-Download/571380966249415"
|
||||
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>
|
||||
</div>
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
</div>
|
||||
{/if}
|
||||
<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>
|
||||
<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>
|
||||
</header>
|
||||
<div class="wrapper">
|
||||
|
|
Loading…
Reference in a new issue