Discussions » Development

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

§
Posted: 2019-01-16
Edited: 2019-01-16

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

// ==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");
  }
}
§
Posted: 2019-02-11

i can help u i already changed the code and worked for me with auto refresh

§
Posted: 2019-02-15

can you post the new script

§
Posted: 2019-02-18

@"boum ily" a dit : i can help u i already changed the code and worked for me with auto refresh

please need the new update

Post reply

Sign in to post a reply.