Skip to content

Instantly share code, notes, and snippets.

@tonai126
Created October 9, 2025 11:44
Show Gist options
  • Select an option

  • Save tonai126/9a7514eadbbdd5021d63023cd541ccab to your computer and use it in GitHub Desktop.

Select an option

Save tonai126/9a7514eadbbdd5021d63023cd541ccab to your computer and use it in GitHub Desktop.
<script>
// Wait for DOM to be ready
document.addEventListener('DOMContentLoaded', function() {
const privacystatementLink = document.querySelector('.cmplz-documents.cmplz-links .cmplz-link.privacy-statement');
if (privacystatementLink) {
privacystatementLink.textContent = 'your_text'; // Change the text inside the link
}
const cookiestatementLink = document.querySelector('.cmplz-documents.cmplz-links .cmplz-link.cookie-statement');
if (cookiestatementLink) {
cookiestatementLink.textContent = 'your_text'; // Change the text inside the link
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment