const privacyPolicy = document.getElementById('privacy-policy'); if (privacyPolicy) { privacyPolicy.innerHTML = 'By signing up you agree to the Helpbuild Privacy Policy' } const swapLinkedIn = () => { var anchor = document.getElementById('social-linkedin-openid-connect'); if (anchor) { anchor.insertAdjacentHTML('afterbegin', ' '); } // Get the span element var span = anchor.getElementsByClassName('kc-social-provider-name')[0]; // Change the text of the span span.textContent = 'Sign in with LinkedIn'; } swapLinkedIn()