document.addEventListener('DOMContentLoaded', function() { var element = document.getElementById("weebly-footer-signup-container-v3"); element.parentNode.removeChild(element); }, false); 2 3 $(document).ready(function() { document.getElementsByClassName("footer-published-ab-powered-by")[0].remove(); });