document.write("
<!-- Begin "Add click to call, email or message to your page" || Help center --> <!-- Add to Settings->Javascript->Footer --> <!-- CS:20201016-26-1 --> <script> document.addEventListener("DOMContentLoaded", function(){ // Handler when the DOM is fully loaded var link_to_fix = document.querySelector('#element-2 a'); var current_href = link_to_fix.getAttribute('href') fixed_href = current_href.replace('http://', ''); link_to_fix.setAttribute('href', fixed_href); }); </script> <!-- End "Add click to call, email or message to your page" || Help center -->