Improve device&OS detection: LG webOS TV

This commit is contained in:
Faisal Salman
2025-06-07 00:05:28 +07:00
parent 5f1e498bec
commit 5e7d0b25a3
5 changed files with 145 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
[
{
"desc" : "WebOS",
"desc" : "HP WebOS",
"ua" : "Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.5; U; en-US) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 TouchPad/1.0",
"expect" :
{
@@ -9,7 +9,7 @@
}
},
{
"desc" : "WebOS",
"desc" : "Palm WebOS",
"ua" : "Mozilla/5.0 (webOS/1.4.5; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0",
"expect" :
{
@@ -17,13 +17,58 @@
"version" : "1.4.5"
}
},
{
"desc" : "WebOS TV 22",
"ua" : " Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/87.0.4280.88 Safari/537.36 LG Browser/8.00.00(LGE; ST50K-LG2200WEB; 04.42.26; 0x00000001; DTV_C22P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, ST50K-LG2200WEB, wireless)",
"expect" :
{
"name" : "webOS",
"version" : "22"
}
},
{
"desc" : "WebOS TV 22",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 HbbTV/1.6.1 (+DRM; LGE/SILICONPLAYER/Hyundai; 50HYN3205; WEBOS22 04.42.26; W22_K8LP; DTV_C22P;)",
"expect" :
{
"name" : "webOS",
"version" : "22"
}
},
{
"desc" : "WebOS TV 5.0",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; SWU-6522; 04.50.63; 0x00000001; DTV_C20P); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, SWU-6522, wireless)",
"expect" :
{
"name" : "webOS",
"version" : "5"
}
},
{
"desc" : "WebOS TV 5.0",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 HbbTV/1.5.1 (+DRM; LGE/WALTON/Hyundai; 50HYN3205; WEBOS5.0 04.50.63; W50_K6LP; DTV_C20P;)",
"expect" :
{
"name" : "webOS",
"version" : "5.0"
}
},
{
"desc" : "WebOS TV 5.x",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 WebAppManager",
"expect" :
{
"name" : "webOS",
"version" : "TV"
"version" : "5"
}
},
{
"desc" : "WebOS TV 5.x",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; E65A71B-S; 04.50.63; 0x00000001; DTV_C20P); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, E65A71B-S, wired)",
"expect" :
{
"name" : "webOS",
"version" : "5"
}
},
{
@@ -32,7 +77,16 @@
"expect" :
{
"name" : "webOS",
"version" : "TV"
"version" : "4"
}
},
{
"desc" : "WebOS TV 3.5",
"ua" : "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 HbbTV/1.3.1 ( DRM; LGE; OLED55B7V-T; WEBOS3.5 06.10.60; W3_M16P; ) FVC/2.0 (LGE; WEBOS3.5 ;)",
"expect" :
{
"name" : "webOS",
"version" : "3.5"
}
},
{
@@ -41,7 +95,7 @@
"expect" :
{
"name" : "webOS",
"version" : "TV"
"version" : "3"
}
},
{
@@ -50,7 +104,7 @@
"expect" :
{
"name" : "webOS",
"version" : "TV"
"version" : "2"
}
},
{
@@ -59,7 +113,7 @@
"expect" :
{
"name" : "webOS",
"version" : "TV"
"version" : "1"
}
}
]