NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Auto Fill Registration
// @namespace Registration Filler
// @version 2024-05-03
// @description Auto fills the Registration form
// @author steamfaucet
// @match *://*/*
// @license GPL-3.0-or-later; https://www.gnu.org/licenses/gpl-3.0.txt
// @noframes
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Enter your username, email address and password below
const USER_NAME = "YOUR_USERNAME";
const EMAIL = "YOUR_EMAIL_ADDRESS";
const PASSWORD = "YOUR_PASSWORD";
//=====================================================================================
if(USER_NAME.startsWith("YOUR_") || EMAIL.startsWith("YOUR_") || PASSWORD.startsWith("YOUR_")){
console.log("Enter username, password or email address in the config");
return;
}
setTimeout(function(){
if(document.querySelectorAll("input[type='text']")){
document.querySelector("input[type='text']").value = USER_NAME;
}
if(document.querySelectorAll("input[type='text']")[1]){
document.querySelectorAll("input[type='text']")[1].value=USER_NAME;
}
if( document.querySelector("input[type='email']")){
document.querySelector("input[type='email']").value=EMAIL;
}
if(document.querySelector("input[type='password']")){
document.querySelector("input[type='password']").value=PASSWORD;
}
if(document.querySelectorAll("input[type='password']")[1]){
document.querySelectorAll("input[type='password']")[1].value=PASSWORD;
}
if(document.querySelectorAll("input[type='password']")[2]){
document.querySelectorAll("input[type='password']")[2].value=PASSWORD;
}
if(document.querySelector("input[type='confirm_password']")){
document.querySelector("input[type='confirm_password']").value=PASSWORD;
}
},5000);
})();