Add rel="noopener" to target="_blank" links

This commit is contained in:
Omar Roth 2018-09-29 09:43:39 -05:00
parent 8530c1f4ec
commit 7d35b6e44f
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="pure-control-group"> <div class="pure-control-group">
<label for="import_youtube">Import <a target="_blank" <label for="import_youtube">Import <a rel="noopener" target="_blank"
href="https://support.google.com/youtube/answer/6224202?hl=en-GB">YouTube subscriptions</a></label> href="https://support.google.com/youtube/answer/6224202?hl=en-GB">YouTube subscriptions</a></label>
<input type="file" id="import_youtube" name="import_youtube"> <input type="file" id="import_youtube" name="import_youtube">
</div> </div>

View File

@ -218,7 +218,7 @@ function get_reddit_comments() {
{title} \ {title} \
</h3> \ </h3> \
<b> \ <b> \
<a target="_blank" href="https://reddit.com{permalink}">View more comments on Reddit</a> \ <a rel="noopener" target="_blank" href="https://reddit.com{permalink}">View more comments on Reddit</a> \
</b> \ </b> \
</div> \ </div> \
<div>{contentHtml}</div> \ <div>{contentHtml}</div> \