摘要 |
Disclosed are an auto login method and device. The method includes: when a request for auto logging into a designated account is received, acquiring the account address, login password and the URL of the login page of the designated account from a pre-stored configuration file, and loading the login page according to the URL; acquiring a login menu in an HTML document corresponding to the login page, searching for a login password input box and an account address input box contained in the login menu, and determining the content to be filled into the account address input box; writing the content to be filled into the account address input box into the account address input box, and writing the login password into the login password input box; and submitting the login menu which is written with the account address content and the login password, and completing auto login. The present invention saves the cumbersome process of sorting data during account login, and avoids the problem of backward incompatibility. |