Non puoi modificarlo:il testo si trova in questo file https://www.cookieconsent.com/releas...kie-consent.js.
Leggi le FAQ nel loro sito: ti dicono anche loro che non puoi modificarlo.
https://www.cookieconsent.com/#cookie_consent_faqs
How can I edit the text from the Cookie Consent notice banner?
In the current version (4.0.0) the notice banner cannot be modified as we support multiple translations. Modifying the text in English means you'll have to modify the text in 15+ languages. We're working on a new version of the Cookie Consent that would allow you to modify the text. Stay tuned!
Se proprio vuoi modificarlo, suggerisco questa soluzione: scarica quel file, modifica il testo e poi carica il file sul tuo server.
Dovrai modificare questo codice:
codice:
<!-- Cookie Consent by https://www.CookieConsent.com -->
<script type="text/javascript" src="//www.cookieconsent.com/releases/4.0.0/cookie-consent.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({"notice_banner_type":"headline","consent_type":"express","palette":"dark","language":"it","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false});
});
</script>
Più o meno così.
codice:
<!-- Cookie Consent by https://www.CookieConsent.com -->
<script type="text/javascript" src="//miosito.com/js/cookie-consent.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({"notice_banner_type":"headline","consent_type":"express","palette":"dark","language":"it","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false});
});
</script>
Tieni, però, conto che se viene aggiornato lo script, il tuo file ovviamente non si aggiornerà.