Merge pull request #63 from coliff/patch-1

Use rel="noopener" on target="_blank" links
This commit is contained in:
Amauri CHAMPEAUX 2018-04-19 14:41:50 +02:00 committed by GitHub
commit 30846e0baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ var tarteaucitron = {
html += ' ' + tarteaucitron.lang.disclaimer;
if (defaults.removeCredit === false) {
html += ' <br/><br/>';
html += ' <a href="https://opt-out.ferank.eu/" rel="nofollow" target="_blank">' + tarteaucitron.lang.credit + '</a>';
html += ' <a href="https://opt-out.ferank.eu/" rel="nofollow" target="_blank" rel="noopener">' + tarteaucitron.lang.credit + '</a>';
}
html += ' </div>';
html += ' <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">';
@ -413,11 +413,11 @@ var tarteaucitron = {
html += ' <div class="tarteaucitronName">';
html += ' <b>' + service.name + '</b><br/>';
html += ' <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><br/>';
html += ' <a href="https://opt-out.ferank.eu/service/' + service.key + '/" target="_blank">';
html += ' <a href="https://opt-out.ferank.eu/service/' + service.key + '/" target="_blank" rel="noopener">';
html += ' ' + tarteaucitron.lang.more;
html += ' </a>';
html += ' - ';
html += ' <a href="' + service.uri + '" target="_blank">';
html += ' <a href="' + service.uri + '" target="_blank" rel="noopener">';
html += ' ' + tarteaucitron.lang.source;
html += ' </a>';
html += ' </div>';