Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

i need help, hello Can someone help me please, i have a scripte but did not work

edited January 16 in Development [?]
// ==UserScript==
// @name     get code rdv page
// @version  2018
// @include  https://algeria.blsspainvisa.com/book_appointment.php
// ==/UserScript==
function sendRequest(email,phone,juridiction) {
document.getElementById("email").value = email;
document.getElementById("phone_code").value = "213";
document.getElementById("phone").value = phone ;
document.getElementById("juridiction").selectedIndex = juridiction;
document.querySelector('abbr a').click();
}
//-----------------------------------------------------------------------------------------------------------------------------
sendRequest("aaaaaaa@gmail.com","77777777","4"); 
//------------------------------------------------------------------------------------------------------------------------------
var myElement = document.getElementById('reponse_div');
myElement.addEventListener('DOMSubtreeModified', contentChanged, false);
var already = 0;
function contentChanged() {
  if(myElement.innerText == "Verification code sent to your phone." && already==0) {
    window.open("https://www.youtube.com/watch?v=BQI1Fvp6rBw","_blank");
  }
}

Comments

Sign In or Register to comment.