چطور از کد جاوا اسکریپت برای پر کردن فرمها (ویزامتریک آلمان) استفاده کنیم

اگه شما مثل من از پر کردن چندباره فرمهای سایت ویزا متریک آلمان خسته شدید

     کارایی مورد نطر شماره ندارند؟  auto fill یا افزونه های مثله

چاره کار اینجاست

فقط کافیه زیر داخل باکس رو مطابق آموزش ویدیویی داخل افزونه مورد نظر بزارید تا تمام فرمها به صورت اتوماتیک کامل بشن و کمتر از ۱۵ ثانیه به مرحله اخر یعنی قسمت دریافت کد تاییده از ایمیل برسید

 


// Generate a random number to append to the URL
const cacheBuster = Math.random();

// Replace the domain with the cache-busted URL
const cacheBustedUrl = window.location.href.replace(
"https://ir-appointment.visametric.com/ir",
`https://ir-appointment.visametric.com/ir?v=${cacheBuster}`
);

// Use the cache-busted URL for further operations
console.log("Cache-busted URL:", cacheBustedUrl);
var Ref_peynja_dev = $.ajax

$.ajax = function(setting) {

  setting.error = function() {
    setTimeout(() => {
      console.log("retry request")
      Ref_peynja_dev(setting)
    }, 500)
  }

  Ref_peynja_dev(setting)
}
$("#result0").prop("checked", true);
$("#result0").change();
$("#result1").prop("checked", true);
$("#result1").change(); 
$("#btnSubmit").prop("checked", true);
$("#btnSubmit").change();

$("#city").val();
$("#city").change();
$("#office").val();
$("#office").change();
$("#officetype").val();
$("#officetype").change();
$("#totalPerson").val();
$("#totalPerson").change();
$("#atm").prop("checked", true);
$("#atm").change();
$('#paymentCardInput').val('');
$('#popupDatepicker2').val('yyyy/mm/dd');

$("#scheba_number").val('');
$('#scheba_name').val('');
$('#name1').val('');
$('#surname1').val('');
$('#birthyear1').val('yy');
$('#birthmonth1').val('mm');
$('#birthday1').val('dd');
$('#passport1').val('');
$('#phone1').val('');
$('#phone21').val('');
$('#email1').val('');