Skip to content

Commit 3c9f91a

Browse files
authored
Update Edge user agent detection for legacy version
Update Edge user agent detection for legacy version and modern version that detect Edge with keyword 'Edg'
1 parent 3bb853d commit 3c9f91a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

application/config/user_agents.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
$browsers = array(
6262
'OPR' => 'Opera',
6363
'Flock' => 'Flock',
64-
'Edge' => 'Edge',
64+
'Edg' => 'Edge',
65+
'Edge' => 'Edge Legacy',
6566
'Chrome' => 'Chrome',
6667
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
6768
'Opera.*?Version' => 'Opera',

0 commit comments

Comments
 (0)