Add rel="noopener" to all anchors with target="_blank"

This commit is contained in:
toasted-nutbread 2019-09-14 19:59:45 -04:00
parent ec816e6767
commit ba1875c56a
2 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
<p> <p>
Read the steps below to get up and running with Yomichan. For complete documentation, Read the steps below to get up and running with Yomichan. For complete documentation,
visit the <a href="https://foosoft.net/projects/yomichan/" target="_blank">official homepage</a>. visit the <a href="https://foosoft.net/projects/yomichan/" target="_blank" rel="noopener">official homepage</a>.
</p> </p>
<ol> <ol>

View File

@ -307,7 +307,7 @@
<div id="dict-importer"> <div id="dict-importer">
<p class="help-block"> <p class="help-block">
Select a dictionary to import for use below. Please visit the Yomichan homepage to Select a dictionary to import for use below. Please visit the Yomichan homepage to
<a href="https://foosoft.net/projects/yomichan" target="_blank">download free dictionaries</a> <a href="https://foosoft.net/projects/yomichan" target="_blank" rel="noopener">download free dictionaries</a>
for use with this extension and to learn about importing proprietary EPWING dictionaries. for use with this extension and to learn about importing proprietary EPWING dictionaries.
</p> </p>
<input type="file" id="dict-file"> <input type="file" id="dict-file">
@ -333,7 +333,7 @@
<div data-show-for-browser="firefox firefox-mobile"><div class="alert alert-danger options-advanced"> <div data-show-for-browser="firefox firefox-mobile"><div class="alert alert-danger options-advanced">
On Firefox and Firefox for Android, the storage information feature may be hidden behind a browser flag. On Firefox and Firefox for Android, the storage information feature may be hidden behind a browser flag.
If you would like to enable this flag, open <a href="about:config" target="_blank">about:config</a> and search for the If you would like to enable this flag, open <a href="about:config" target="_blank" rel="noopener">about:config</a> and search for the
<strong>dom.storageManager.enabled</strong> option. If this option has a value of <strong>false</strong>, toggling it to <strong>dom.storageManager.enabled</strong> option. If this option has a value of <strong>false</strong>, toggling it to
<strong>true</strong> may allow storage information to be calculated. <strong>true</strong> may allow storage information to be calculated.
</div></div> </div></div>
@ -355,9 +355,9 @@
</div> </div>
<p class="help-block"> <p class="help-block">
Yomichan supports automatic flashcard creation for <a href="http://ankisrs.net/" target="_blank">Anki</a>, a free application Yomichan supports automatic flashcard creation for <a href="http://ankisrs.net/" target="_blank" rel="noopener">Anki</a>, a free application
designed to help you remember. This feature requires installation of the designed to help you remember. This feature requires installation of the
<a href="https://foosoft.net/projects/anki-connect/" target="_blank">AnkiConnect</a> plugin. <a href="https://foosoft.net/projects/anki-connect/" target="_blank" rel="noopener">AnkiConnect</a> plugin.
</p> </p>
<div class="alert alert-danger" id="anki-error"></div> <div class="alert alert-danger" id="anki-error"></div>
@ -473,14 +473,14 @@
countless hours that I have devoted to this extension. countless hours that I have devoted to this extension.
</p> </p>
<p> <p>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN" target="_blank"><img src="/bg/img/paypal.gif" alt></a> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN" target="_blank" rel="noopener"><img src="/bg/img/paypal.gif" alt></a>
</p> </p>
</div> </div>
<pre id="debug"></pre> <pre id="debug"></pre>
<div class="pull-right bottom-links"> <div class="pull-right bottom-links">
<small><a href="search.html">Search</a> &bull; <a href="https://foosoft.net/projects/yomichan/" target="_blank">Homepage</a> &bull; <a href="legal.html">Legal</a></small> <small><a href="search.html">Search</a> &bull; <a href="https://foosoft.net/projects/yomichan/" target="_blank" rel="noopener">Homepage</a> &bull; <a href="legal.html">Legal</a></small>
</div> </div>
</div> </div>