Vfs Brazil 07 0.6.user
Vfs Brazil 07 0.6.user
var Email, Pwd, NumPass, DateN, ExpPass, Prenom, Nom, Genre, Phone, Interval, Visa,
Ref, Country, CounTxt, MsgTxt, Txt, Gender,VisaNum,VisaPlace,VisaDur;
var Dora = 1;
Country = 0;
Email = "juliojoao1614@gmail.com"; // Email
Pwd = "Angolano3@"; // mot de passe vfs
Phone = "924780043"; // numero té️
lé️
phone
Gender = ["", 'Male', 'Female']; // 1 masculin, 2 Feminin
var VisaType = null;
var RefNum = "";
/*---------Passeporte 01----------*/
function setForm() {
if (Dora == 1) {
//Profile 1
NumPass = "N2967066";
DateN = "16/09/1993";
ExpPass = "06/02/2038";
Prenom = "PAULINO";
Nom = "CAVULA";
Genre = 1;
//Renouvellement
VisaNum = "";
VisaPlace = "";
VisaDur = "";
}
/*---------Passeporte 02----------*/
else if (Dora == 2) {
//Profile 2
NumPass = "N3340796";
DateN = "11/11/1994";
ExpPass = "01/07/2039";
Prenom = "MIGUEL";
Nom = "MABENGA";
Genre = 1;
//Renouvellement
VisaNum = "";
VisaPlace = "";
VisaDur = "";
}
/*----------Passeporte 03----------*/
else if (Dora == 3) {
//Profile 3
NumPass = "N2534366";
DateN = "22/02/2000";
ExpPass = "19/06/2034";
Prenom = "BENILSON";
Nom = "PAULINO";
Genre = 1;
//Renouvellement
VisaNum = "";
VisaPlace = "";
VisaDur = "";
} else {
alert('Erreur Script VFS');
}
document.title = Prenom + ' ' + Nom;
}
/
*----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
------*/
(function() {
'use strict';
$('.leftNav-ul').append('<li class="inactive-link"><a href="/Global-
Appointment/Calendar/FinalCalendar">under configuration to Calendrie</a>');
// Your code here...
})();
$('#sidebar').on('click','#Pro1',function(){
Dora = 1;
setForm();
fillForm();
})
$('#sidebar').on('click','#Pro2',function(){
Dora = 2;
setForm();
fillForm();
})
$('#sidebar').on('click','#Pro3',function(){
Dora = 3;
setForm();
fillForm();
})
function shiftDesign() {
$('body').prepend('<h5 id="Alert" style="color: red; text-align: center; text-
transforme: uppercase,background-color: teal;">Aucune Notfication</h5>');
$('#header-title').css('margin', '2px');
$('.header').height('40px');
$('.logo').hide();
$('.MsoNormal').hide();
}
function fillForm() {
$("#PassportNumber").val(NumPass);
$("#FirstName").val(Prenom);
$("#LastName").val(Nom);
$("#DateOfBirth").val(DateN);
$("#PassportExpiryDate").val(ExpPass);
$("#NationalityId option:contains('ANGOLA')").attr('selected', 'selected');
$("#GenderId option:contains('" + Gender[Genre] + "')").attr('selected',
'selected');
if ($('#VisaNumber').length) {
$('#VisaNumber').val(VisaNum);
}
if ($('#PlaceOfIssuance').length) {
$('#PlaceOfIssuance').val(VisaPlace);
}
if ($('#Duartion').length) {
$('#Duartion').val(VisaDur);
}
if ($('#Mobile').length) {
$('#Mobile').val(Phone);
}
if ($('#txtPassport').length) {
$("#AURN").val(RefNum);
$("#txtPassport").val(NumPass);
$("#PrimaryEmailId").val(Email);
}
//$('#submitbuttonId').click();
}
(function() {
document.title = Prenom + ' ' + Nom;
if ($('#EmailId').length && $('#Password').length) {
$('#EmailId').val(Email);
$('#Password').val(Pwd);
}
var refresh = setInterval(function(){$('#VisaCategoryId').val(visa).change();},
inter*1000);
if($('#lblDate').text()!=''){
clearInterval(refresh);
var MsgTxt = new SpeechSynthesisUtterance('Rdv France disponible');
window.speechSynthesis.speak(MsgTxt);
$('#btnContinue').click();
}
})();// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 2024-09-27
// @description try to take over the world!
// @author You
// @match https://visa.vfsglobal.com/ago/pt/prt/book-an-appointment
// @icon https://www.google.com/s2/favicons?sz=64&domain=vfsglobal.com
// @grant none
// ==/UserScript==
(function() {
'use strict';