Forked from Daniel-GabrielN/ExportVivaldiPasswords.js
Created
August 4, 2016 02:03
-
-
Save beaverb1ll/d568ea9725cdd8d127cf1975b6a6e6e2 to your computer and use it in GitHub Desktop.
ExportChromePasswords.js
This file contains hidden or 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 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 += 'url , username , password'; | |
for(i=0; i<model.length; i++){ | |
var item = pl.getListItemByIndex(i); | |
decryptedRow += '<br/>'+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); | |
} | |
,300); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment