Add Firefox support (#42)

This commit is contained in:
Maxim Baz
2019-03-16 02:41:16 +01:00
committed by GitHub
parent 7c2397bbfd
commit 1676b90187
8 changed files with 17 additions and 5 deletions

View File

@@ -492,7 +492,7 @@ async function parseFields(settings, login) {
lines.forEach(function(line) {
// split key / value
var parts = line
.split(/(?<=^[^:]+):/)
.split(":")
.map(value => value.trim())
.filter(value => value.length);
if (parts.length != 2) {