Bls Indeviduel by Vaviq 2023 [PDF]

  • 0 0 0
  • Gefällt Ihnen dieses papier und der download? Sie können Ihre eigene PDF-Datei in wenigen Minuten kostenlos online veröffentlichen! Anmelden
Datei wird geladen, bitte warten...
Zitiervorschau

// ==UserScript== // @name BLs INDEVIDUEL by VAVIQ // @namespace http://tampermonkey.net/ // @version 0.12 // @description 。|This is a script to help you apply for a visa in Spain, he can quickly fill in the visa page information. // @author VAVIQUOFFICIEL INSTAGRAM // @require http://cdn.bootcss.com/jquery/1.12.4/jquery.min.js // @match https//*.blsspainvisa.com/appointment.php //@match https://algeria.blsspainvisa.com/appointment.php // @grant none // @run-at document-end // @downloadURL none // ==/UserScript== (function() { 'use strict'; console.log("Code start"); // Preset information /* /* | Preset information VisaType: 207=Tourism 29=Business 30=Family Visit 31=Property Owner 32=Student 33=Sports Cultural Artistic Scientific 34=Mission 35=Medical Visit 36=Transit 37=Residence Permit 38=Eu Citizens Family Reunification 39=Family Reunification 40=Student 41=Work Permit (Own Account) 42=Work Permit (Third Party) passportType: Ordinary passport = 01 Collective passport = 02 Protection passport = 03 Diplomatic passport = 04 Service passport = 05 Government official on duty =06 Special passport = 07 Passport of foreigners = 08 National laissez-passer = 10 UN laissez-passer = 11 Refugee Travel Document (Geneva Convention) = 12 D. Viaje Apatridas C. New York = 13 Official passport = 14 Seaman’s book = 16

*/ //************************************** // ↓↓↓↓↓↓↓↓↓↓| Please fill in the information ↓↓↓↓↓↓↓ var AppointmentTime = "08:30 - 08:45", VisaType = "29", first_name = "VAVIQ", last_name = "OFFICIEL", dateOfBirth = "1989-05-23", passportType = "01", passport_no = "195548753", pptIssueDate = "2015-04-03", pptExpiryDate = "2025-04-02", PassportIssuePlace = "ALGER"; // ↑↑↑↑↑↑↑↑↑**************************************↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ var timer = setInterval(aaa, 1000); var datas = setInterval(bbb, 100); function bbb() { $("#app_date").trigger("focus"); } // | Determine whether a date has been selected function aaa() { if ($('#app_date').val() == "") { clearInterval(datas); // | Determine if there is an optional date if ($(".datepicker-days .day.activeClass").length > 0) { // | select date 1 $(".datepicker-days .day.activeClass")[1].click(); } else { console.log("|No available date"); } } else { // | The date has been booked console.log("|I have made an appointment and started filling in the information"); $('#app_time').val(AppointmentTime); $('#VisaTypeId').val(VisaType); $('#first_name').val(first_name); $('#last_name').val(last_name); $('#dateOfBirth').val(dateOfBirth); $('#passportType').val(passportType); $('#passport_no').val(passport_no); $('#pptIssueDate').val(pptIssueDate); $('#pptExpiryDate').val(pptExpiryDate); $('#pptIssuePalace').val(PassportIssuePlace); console.log("|Information completed"); clearInterval(timer); clearInterval(datas); $(".datepicker.datepicker-dropdown.dropdown-menu.datepicker-orientleft.datepicker-orient-top").hide(); } } console.log("End of code run"); var appdateoff = function () {

var element = document.getElementById('reload').value; if (element === 'ON') { document.getElementById('app_date').onchange = "this.form.submit()"; document.getElementById('reload').value = "OFF"; document.getElementById('reload').style.background = "red"; document.getElementById('app_date').readOnly = false; } else { document.getElementById('app_date').form.submit(); showLoader(); } setInterval(function () { document.getElementById('app_date_hidden').value = document.getElementById('app_date').value; }, 30000); }; var button2 = document.createElement('input'); button2.value = 'ON'; button2.id = 'reload'; document.getElementById('app_date').parentNode.insertBefore(button2, document.getElementById('app_date').nextSibling); document.getElementById('reload').style = "cursor: pointer;float: center; fontsize: 12px; padding: 6px; width: 50px; text-align: center; background: green"; document.getElementById('reload').onclick = appdateoff; // Create the "Remplir Inf" button var fillButton = document.createElement('button'); fillButton.innerHTML = 'Add Info'; fillButton.id = 'fillButton'; fillButton.style = 'cursor: pointer; float: right; font-size: 12px; padding: 6px; background: green; color: white;'; fillButton.onclick = fillInformation; // Insert the "Remplir Inf" button next to the "reload" button var reloadButton = document.getElementById('reload'); reloadButton.parentNode.insertBefore(fillButton, reloadButton.nextSibling); // Function to fill in the information function fillInformation() { $('#app_time').val(AppointmentTime); $('#VisaTypeId').val(VisaType); $('#first_name').val(first_name); $('#last_name').val(last_name); $('#dateOfBirth').val(dateOfBirth); $('#passportType').val(passportType); $('#passport_no').val(passport_no); $('#pptIssueDate').val(pptIssueDate); $('#pptExpiryDate').val(pptExpiryDate); $('#pptIssuePalace').val(PassportIssuePlace); console.log("|Information filled"); } })();