// ==UserScript== // @author LagSwitchedVirginity // @namespace https://github.com/LagSwitchedVirginity/UserScripts-and-UserStyles // @homepage https://github.com/LagSwitchedVirginity/UserScripts-and-UserStyles // @supportURL https://github.com/LagSwitchedVirginity/UserScripts-and-UserStyles // @name [COMBO] Origin // @description This is for the classic : combo // @version 1567213334 // @match https://signin.ea.com/p/originX/login* // @match http://signin.ea.com/p/originX/login* // @run-at document-idle // @downloadURL none // ==/UserScript== function e() { document.querySelector("#email").onkeyup = function(e, o) { this.value.replace(/((?:[\w-]+(?:\.[\w-]+)*)@(?:(?:[\w-]+\.)*\w[\w-]{0,66})\.(?:[a-z]{2,6}(?:\.[a-z]{2})?)):(.*)/gi, function(e, o, u) { document.querySelector("#email").value = o, document.querySelector("#password").value = u; }); }; } document.onload = e, setTimeout(e, 1e3);