Created
May 3, 2012 16:48
-
-
Save bidulock/2587163 to your computer and use it in GitHub Desktop.
sofi dev userscripts
This file contains 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== | |
// @include http://localhost:3000/users/login | |
// ==/UserScript== | |
setTimeout(function () { | |
document.getElementsByName("email")[0].value = "[email protected]"; | |
document.getElementsByName("password")[0].value = "abc..123"; | |
document.getElementsByName("submit")[0].click(); | |
}, 2000); |
This file contains 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== | |
// @include http://localhost:3000/users/sign_up | |
// ==/UserScript== | |
setTimeout(function () { | |
document.getElementsByName("email")[0].value = "[email protected]"; | |
document.getElementsByName("password")[0].value = "abc..123"; | |
document.getElementsByName("password_confirmation")[0].value = "abc..123"; | |
document.getElementsByName("terms_of_service")[0].click(); | |
document.getElementsByName("submit")[0].click(); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment