Add an option to hide the links to opt-out.ferank.eu and third party website
This commit is contained in:
parent
3f335f48eb
commit
6d6f7a77db
|
|
@ -207,7 +207,8 @@ var tarteaucitron = {
|
||||||
"removeCredit": false,
|
"removeCredit": false,
|
||||||
"showAlertSmall": true,
|
"showAlertSmall": true,
|
||||||
"cookieslist": true,
|
"cookieslist": true,
|
||||||
"handleBrowserDNTRequest": false
|
"handleBrowserDNTRequest": false,
|
||||||
|
"moreInfoLink": true
|
||||||
},
|
},
|
||||||
params = tarteaucitron.parameters;
|
params = tarteaucitron.parameters;
|
||||||
|
|
||||||
|
|
@ -475,13 +476,15 @@ var tarteaucitron = {
|
||||||
html += ' <div class="tarteaucitronName">';
|
html += ' <div class="tarteaucitronName">';
|
||||||
html += ' <h3>' + service.name + '</h3><br/>';
|
html += ' <h3>' + service.name + '</h3><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" rel="noopener" title="'+ tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'">';
|
if (tarteaucitron.parameters.moreInfoLink == true) {
|
||||||
html += ' ' + tarteaucitron.lang.more;
|
html += ' <a href="https://opt-out.ferank.eu/service/' + service.key + '/" target="_blank" rel="noopener" title="'+ tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'">';
|
||||||
html += ' </a>';
|
html += ' ' + tarteaucitron.lang.more;
|
||||||
html += ' - ';
|
html += ' </a>';
|
||||||
html += ' <a href="' + service.uri + '" target="_blank" rel="noopener" title="' + service.name + ' ' + tarteaucitron.lang.newWindow + '">';
|
html += ' - ';
|
||||||
html += ' ' + tarteaucitron.lang.source;
|
html += ' <a href="' + service.uri + '" target="_blank" rel="noopener" title="' + service.name + ' ' + tarteaucitron.lang.newWindow + '">';
|
||||||
html += ' </a>';
|
html += ' ' + tarteaucitron.lang.source;
|
||||||
|
html += ' </a>';
|
||||||
|
}
|
||||||
html += ' </div>';
|
html += ' </div>';
|
||||||
html += ' <div class="tarteaucitronAsk">';
|
html += ' <div class="tarteaucitronAsk">';
|
||||||
html += ' <button id="' + service.key + 'Allowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);">';
|
html += ' <button id="' + service.key + 'Allowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);">';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue