Skip to content

Instantly share code, notes, and snippets.

@maciekmm
Created August 2, 2024 12:49
Show Gist options
  • Save maciekmm/fec27301412194a9642df4822240fd94 to your computer and use it in GitHub Desktop.
Save maciekmm/fec27301412194a9642df4822240fd94 to your computer and use it in GitHub Desktop.
A bookmarklet to input Pekao password from password manager
javascript: function c() {
const passwd = prompt();
Array.from(document.querySelectorAll(".masked-input-wrapper input:not([disabled])"))
.forEach(input => {
let index = Number(input.id.split("-").pop());
input.value = passwd[index];
let event = new Event('input', {
bubbles: true,
cancelable: true,
});
input.dispatchEvent(event);
});
}; c()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment