Improve browser detection for ICEBrowser

This commit is contained in:
Faisal Salman
2024-06-02 15:32:23 +07:00
parent 1fa3d02594
commit 85bf7076d3
2 changed files with 12 additions and 2 deletions

View File

@@ -436,8 +436,8 @@
// Other
/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
// Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Obigo/Mosaic/Go/ICE/UP.Browser
/(links) \(([\w\.]+)/i, // Links
], [NAME, VERSION], [
/(links) \(([\w\.]+)/i // Links
], [NAME, [VERSION, /_/g, '.']], [
/(cobalt)\/([\w\.]+)/i // Cobalt
], [NAME, [VERSION, /[^\d\.]+./, EMPTY]]