Import logins from a CSV file
browser_import_loginsImport saved logins from a standard Chrome or Firefox CSV export into Firefox; the browser maps the url, username, and password columns.
Instructions
Import saved logins from a CSV (the format Chrome and Firefox both export). MEASURED: the module is resource://gre/modules/LoginCSVImport.sys.mjs and its static entry point is LoginCSVImport.importFromCSV (the class instance has no prototype methods). Column names are mapped by the browser itself, so pass a file already in the standard url/username/password layout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the .csv file |