Skip to content

Instantly share code, notes, and snippets.

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 stephencoe/63b30429474a4fef43a2baab17c5c3b5 to your computer and use it in GitHub Desktop.
Save stephencoe/63b30429474a4fef43a2baab17c5c3b5 to your computer and use it in GitHub Desktop.
var decryptedRow="";
var pm = PasswordManager.getInstance();
var model = pm.savedPasswordsList_.dataModel;
var pl = pm.savedPasswordsList_;
for(i=0;i<model.length;i++){
PasswordManager.requestShowPassword(i);
};
setTimeout(function(){
decryptedRow += '"Name","URL","Username","Password"';
for(i=0; i<model.length; i++){
var item = pl.getListItemByIndex(i);
//console.log(model);
decryptedRow += '<br/>"'+model.array_[i].shownOrigin+'","'+model.array_[i].url+'","'+model.array_[i].username+'","'+item.childNodes[0].childNodes[2].childNodes[0].value+'"';
};
var newWindow = window.open("", "MsgWindow");
newWindow.document.write(decryptedRow);
}
,1000);
//If you have any trouble or UNDEFINED data in your exported list re-run this script again until the UNDEFINED data is gone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment