mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
lint
This commit is contained in:
@@ -104,7 +104,7 @@ const browsersList = [
|
|||||||
name: 'Omgilibot',
|
name: 'Omgilibot',
|
||||||
};
|
};
|
||||||
const version = Utils.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i, ua) || Utils.getFirstMatch(commonVersionIdentifier, ua);
|
const version = Utils.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i, ua) || Utils.getFirstMatch(commonVersionIdentifier, ua);
|
||||||
|
|
||||||
if (version) {
|
if (version) {
|
||||||
browser.version = version;
|
browser.version = version;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user