perf: remove ua Edge Dev (Chromium)

This commit is contained in:
Spirit 2020-02-24 00:27:02 +08:00
parent 3b8cb19294
commit b17576867f

View File

@ -791,9 +791,6 @@ function siren_get_browsers($ua){
}elseif (preg_match('#Edge/([a-zA-Z0-9.]+)#i', $ua, $matches)){ }elseif (preg_match('#Edge/([a-zA-Z0-9.]+)#i', $ua, $matches)){
$title = 'Edge '. $matches[1]; $title = 'Edge '. $matches[1];
$icon = 'edge'; $icon = 'edge';
}elseif (preg_match('#Edg/([a-zA-Z0-9.]+)#i', $ua, $matches)){
$title = 'Edge Dev (Chromium) '. $matches[1];
$icon = 'edge';
}elseif (preg_match('#360([a-zA-Z0-9.]+)#i', $ua, $matches)) { }elseif (preg_match('#360([a-zA-Z0-9.]+)#i', $ua, $matches)) {
$title = '360 Browser '. $matches[1]; $title = '360 Browser '. $matches[1];
$icon = '360se'; $icon = '360se';