chrome-export-passwords
chrome-export-passwords copied to clipboard
TypeError: PasswordManager.getInstance is not a function
The following error happens when executing minified code at chrome://settings/passwords
Uncaught ReferenceError: PasswordManager is not defined at
:1:34
Tested on Chrome: 63.0.3239.132 and on 66.0.3331.0 (Canary).
Although this code works instead:
var pm = new PasswordManager();
var pl = pm.getSavedPasswordList;
but pl.dataModel is undefined.
@kenorb: instead of messing with js hacks which use an API that keeps changing all the time, just use the built-in password export functionality available in Chrome Canary as described in the top of the answer at https://superuser.com/a/675167/65975
@elFua I wish to use, but builtin feature doesn't work for me as per Issue 808223. It's basically creating an empty CSV file. See my other answer on that link that you've sent.
@kenorb: that's exactly why I mentioned you need to use the Chrome Canary build from https://www.google.com/chrome/browser/canary.html
I had both installed and none of them worked (stable, Canary build and Chromium), the export didn't work. Secondly most of my passwords were in stable version, so exporting them was not possible.