Skip to content

Instantly share code, notes, and snippets.

@gkucmierz
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gkucmierz/6ab5ed1b8aa33b12e076 to your computer and use it in GitHub Desktop.
Save gkucmierz/6ab5ed1b8aa33b12e076 to your computer and use it in GitHub Desktop.
fast insert password in ing shitty login screen
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