You are on page 1of 3

// ==UserScript==

// @name BLSLOGIN
// @namespace http://tampermonkey.net/
// @version 2023
// @description try to take over the world!
// @author MahDiMiDi
// @match https://www.blsspainmorocco.net/MAR/account/*
// @match https://www.blsspainmorocco.net/MAR/Account/*
// @match https://algeria.blsspainglobal.com/DZA/Account/LogIn*
// @match https://algeria.blsspainglobal.com/DZA/account/login*
// @icon https://www.google.com/s2/favicons?
sz=64&domain=blsspainmorocco.com
// @grant none
// ==/UserScript==

if (!document.getElementsByTagName('title')
[0].textContent.toLowerCase().includes("gateway")) {
var Name = [
"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14",
"15"
];

var data = [
{
mail: "XXXX8@gmail.com",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "Maroc@.2023"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "MXXXX"
},
{
mail: "XXXX",
password: "XXXX"
},
{
mail: "XXXX",
password: "XXXX"
}
];

var j = 0;

for (var i = 0; i <= 14; i++) {


var button = document.createElement('input');
button.value = ' ' + (i + 1);
button.id = 'formulaire' + j;

// Apply CSS styles to make the buttons look attractive


button.style = `
cursor: pointer;
border: 1.5px solid #000;
float: center;
font-size: 12px;
padding: 6px;
width: 60px;
margin-bottom: 4px;
background-color: #3498db; /* Background color */
color: #ffffff; /* Text color */
border-radius: 5px; /* Rounded corners */
text-align: center; /* Center text horizontally */
text-decoration: none; /* Remove underlines from links */
display: inline-block; /* Display as inline-block */
transition: background-color 0.3s; /* Transition effect on hover */
`;

// Add a hover effect to the buttons


button.addEventListener("mouseover", function () {
this.style.backgroundColor = "#2980b9"; // Darker background on hover
});

button.addEventListener("mouseout", function () {
this.style.backgroundColor = "#3498db"; // Restore the original
background on mouseout
});

// Insert the button before the form


document.getElementsByTagName('form')[0].parentNode.insertBefore(button,
document.getElementsByTagName('form')[0]);

// Assign an event handler for each button


button.addEventListener("click", function (index) {
return function () {
var mail = data[index].mail;
var password = data[index].password;
setValues(mail, password);
};
}(i));

j++;
}

function setValues(mail, password) {


document.getElementById('UserId1').value = mail;
document.getElementById('UserId2').value = mail;
document.getElementById('UserId3').value = mail;
document.getElementById('UserId4').value = mail;
document.getElementById('UserId5').value = mail;
document.getElementById('UserId6').value = mail;
document.getElementById('UserId7').value = mail;
document.getElementById('UserId8').value = mail;
document.getElementById('UserId9').value = mail;
document.getElementById('UserId10').value = mail;
document.getElementById('Password1').value = password;
document.getElementById('Password2').value = password;
document.getElementById('Password3').value = password;
document.getElementById('Password4').value = password;
document.getElementById('Password5').value = password;
document.getElementById('Password6').value = password;
document.getElementById('Password7').value = password;
document.getElementById('Password8').value = password;
document.getElementById('Password9').value = password;
document.getElementById('Password10').value = password;
}
}
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://*/*
// @icon
data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==

(function() {
'use strict';

// Your code here...


})();

You might also like