This commit is contained in:
Ray Lothian 2019-05-11 11:09:41 +02:00
parent 1e16c33019
commit e1cdd7cb44

View file

@ -231,10 +231,15 @@ function match({url, tabId}) {
prefs.custom[key] = s; prefs.custom[key] = s;
} }
else if (prefs.custom._.indexOf('*') !== -1) { else if (prefs.custom._.indexOf('*') !== -1) {
if (prefs.custom[key]) {
prefs.custom[key] = s;
}
else {
prefs.custom['*'] = s; prefs.custom['*'] = s;
} }
} }
} }
}
if (s) { if (s) {
return ua.parse(s); return ua.parse(s);
} }