Mozilla Add-on development: Accessing LAST USED or LAST CHANGED fields in password manger
问题 My add-on needs to access stored credentials. In this I want to get the credentials that was changed or used recently. I see that I have LAST USED and LAST CHANGED fields but how do I access those fields in my javascript? I searched and also tried ( https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/passwords ) but I couldn't get anything. 回答1: This is how to get a list of all the currently stored login informations: var lm = Cc["@mozilla.org/login-manager;1"].getService(Ci