问题
Is it possible to access save passwords in chrome extension? I was looking through API but did not find it.. I want to export all passwords into different storage and using extension seems like logical way to do it, but I cannot find HOW to do it.
Thanks for any help.
回答1:
Ok, to answer my own question, it does not seem possible to access that information via extension API, but on linux (linux does not encrypt login information, windows does) all you need is to access "~/.config/chromium/Default/Login Data"
and extract data from logins table. It's sqlite3 db.
So it could be done with NPAPI.
来源:https://stackoverflow.com/questions/14426841/get-passwords-from-chrome