[various] Add rel="noopener noreferrer" to all target="_blank" links

See https://mathiasbynens.github.io/rel-noopener/
This commit is contained in:
Hypolite Petovan 2020-02-24 20:08:43 -05:00
parent b9b5a0fd14
commit 7eb7706a24
4 changed files with 21 additions and 21 deletions

View file

@ -117,7 +117,7 @@ function irc_content(&$a) {
/* add the chatroom frame and some html */
$o .= <<< EOT
<h2>IRC chat</h2>
<p><a href="http://tldp.org/HOWTO/IRC/beginners.html" target="_blank">A beginner's guide to using IRC. [en]</a></p>
<p><a href="http://tldp.org/HOWTO/IRC/beginners.html" target="_blank" rel="noopener noreferrer">A beginner's guide to using IRC. [en]</a></p>
<iframe src="//webchat.freenode.net?channels=$channels" style="width:100%; max-width:900px; height: 600px;"></iframe>
EOT;