100% found this document useful (1 vote)
2K views2 pages

Script BLS Modi

This userscript attempts to automatically fill login forms on the Algeria BLS Spain Global website with predefined credentials. It checks for error pages and reloads the page. It finds login forms by ID and fills the username and password fields. It also attempts to click a verification or submit button to log in.

Uploaded by

chebbahfahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views2 pages

Script BLS Modi

This userscript attempts to automatically fill login forms on the Algeria BLS Spain Global website with predefined credentials. It checks for error pages and reloads the page. It finds login forms by ID and fills the username and password fields. It also attempts to click a verification or submit button to log in.

Uploaded by

chebbahfahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

// ==UserScript==

// @name # 1 auto BLS BADR


// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://algeria.blsspainglobal.com/*
// @match https://algeria.blsspainglobal.com/DZA/account/login?returnUrl=
%2fDZA%2fbls%2fVisaTypeVerification
// @grant
// ==/UserScript==
//////////////////////////////////////////////////////////////////////

if (document.title == "504 Gateway Time-out" || document.title =="502 Bad Gateway"


|| document.title =="503 Service Temporarily Unavailable" || document.title =="403
Forbidden") {
window.location.reload();
}

////////////////////////////////////////////////////////////
// ‫هنا حط االيمال و باسوورد تاعك‬

var email1 = "[email protected]";


var mp = "xxxxxxxxxx";

///////////////////////////////////////////////////////////

if(document.getElementById("UserId1") != null){
document.getElementById("UserId1").value=email1;
document.getElementById("Password1").value=mp;
}

if(document.getElementById("UserId2") != null){
document.getElementById("UserId2").value=email1;
document.getElementById("Password2").value=mp;

if(document.getElementById("UserId3") != null){
document.getElementById("UserId3").value=email1;
document.getElementById("Password3").value=mp;
}

if(document.getElementById("UserId4") != null){
document.getElementById("UserId4").value=email1;
document.getElementById("Password4").value=mp;

if(document.getElementById("UserId5") != null){
document.getElementById("UserId5").value=email1;
document.getElementById("Password5").value=mp;
}

if(document.getElementById("UserId6") != null){
document.getElementById("UserId6").value=email1;
document.getElementById("Password6").value=mp;

if(document.getElementById("UserId7") != null){
document.getElementById("UserId7").value=email1;
document.getElementById("Password7").value=mp;
}

if(document.getElementById("UserId8") != null){
document.getElementById("UserId8").value=email1;
document.getElementById("Password8").value=mp;

if(document.getElementById("UserId9") != null){
document.getElementById("UserId9").value=email1;
document.getElementById("Password9").value=mp;
}

if(document.getElementById("UserId10") != null){
document.getElementById("UserId10").value=email1;
document.getElementById("Password10").value=mp;
}

const btnVerify = document.querySelector("#btnVerify");


const btnSubmit = document.querySelector("#btnSubmit");

// ‫ افحص إذا كان زر‬btnVerified ‫موجوًدا‬


if (btnVerify) {
(btnVerify).click(); // ‫ إضغط على زر‬btnVerified
} else if (btnSubmit) {
btnSubmit.click(); // ‫ إضغط على زر‬btnSubmit ‫إذا كان كال الزرين اآلخرين غير موجودين‬
}

You might also like