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

pull/733/head
Omar Roth 6 years ago
parent 8530c1f4ec
commit 7d35b6e44f

@ -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>

@ -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> \

Loading…
Cancel
Save