I'm trying to insert the following code on this page to be able to change the text that appears when the client subscribes to the modal newsletter , which appears when the client is about to leave the page:
$(document).ready(function(){
$('#btn-cadastre').on("click", function() {
$('#modal_body_popup.modal-body-center .content-popup .newsletter-send').html('<i class="fa fa-check-circle"></i> Cadastro realizado com sucesso. Compre qualquer produto, seu cupom da <strong>Corda de Pular</strong> está garantido até o final da compra.');
});
});
Unfortunately, I do not know why, it's not working. I've tried it in many ways and nothing. I would like some help to solve this:)
PS: I'm using Tampermonkey v4.5 to run the tests.