Merge pull request #63 from coliff/patch-1
Use rel="noopener" on target="_blank" links
This commit is contained in:
commit
30846e0baa
|
|
@ -246,7 +246,7 @@ var tarteaucitron = {
|
||||||
html += ' ' + tarteaucitron.lang.disclaimer;
|
html += ' ' + tarteaucitron.lang.disclaimer;
|
||||||
if (defaults.removeCredit === false) {
|
if (defaults.removeCredit === false) {
|
||||||
html += ' <br/><br/>';
|
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>';
|
||||||
html += ' <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">';
|
html += ' <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">';
|
||||||
|
|
@ -413,11 +413,11 @@ var tarteaucitron = {
|
||||||
html += ' <div class="tarteaucitronName">';
|
html += ' <div class="tarteaucitronName">';
|
||||||
html += ' <b>' + service.name + '</b><br/>';
|
html += ' <b>' + service.name + '</b><br/>';
|
||||||
html += ' <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><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 += ' ' + tarteaucitron.lang.more;
|
||||||
html += ' </a>';
|
html += ' </a>';
|
||||||
html += ' - ';
|
html += ' - ';
|
||||||
html += ' <a href="' + service.uri + '" target="_blank">';
|
html += ' <a href="' + service.uri + '" target="_blank" rel="noopener">';
|
||||||
html += ' ' + tarteaucitron.lang.source;
|
html += ' ' + tarteaucitron.lang.source;
|
||||||
html += ' </a>';
|
html += ' </a>';
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue