Created
March 6, 2021 14:03
-
-
Save sathishshan/223b3b1c1b9d6256dd0de8e50aaa2aaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Login | |
// @namespace Auto_Login | |
// @description Login_Auto | |
// @version 1.0 | |
// @match https://site.com | |
// @run-at document-start | |
// ==/UserScript== | |
window.addEventListener('load', function() { | |
// your code here | |
function login(){ | |
function mfa(){ | |
document.getElementsByClassName("button-orange wide")[0].click() | |
} | |
setTimeout(mfa, 100); | |
setTimeout(mfa, 1000); | |
} | |
login(); | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment