Last active
August 29, 2015 14:05
-
-
Save gkucmierz/6ab5ed1b8aa33b12e076 to your computer and use it in GitHub Desktop.
fast insert password in ing shitty login screen
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
var pass = (prompt()+'').trim(); | |
[].filter.call($('input[type="password"]'), function(inp) { | |
return !inp.disabled; | |
}).map(function(inp) { | |
var n = parseInt(inp.name.match(/[0-9]+/)); | |
return inp.value = pass.charAt(n-1); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment