Skip to content

Instantly share code, notes, and snippets.

@Grogs
Created October 26, 2016 13:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grogs/b08d1fa288c3b6bb29ee3703218c2300 to your computer and use it in GitHub Desktop.
Save Grogs/b08d1fa288c3b6bb29ee3703218c2300 to your computer and use it in GitHub Desktop.
document.querySelectorAll("#saved-passwords-list > .deletable-item > div").forEach(function(p) {
var url = p.querySelector(".url").title
var login = p.querySelector(".name").title
var password = p.querySelector(".password > input").value
console.log(url+"|"+login+"|"+password)
})
@tincho
Copy link

tincho commented Mar 4, 2017

great thanks! but first line should be:

[].forEach.call(document.querySelectorAll("#saved-passwords-list > .deletable-item > div", function(p) {

@kenorb
Copy link

kenorb commented Feb 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment