mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-25 16:28:12 +08:00
Microsoft Edge Dev (Chromium) UA support
This commit is contained in:
parent
2466276a8e
commit
da1304cfde
@ -786,7 +786,10 @@ function siren_get_browsers($ua){
|
|||||||
else
|
else
|
||||||
$icon = 'ie';
|
$icon = 'ie';
|
||||||
}elseif (preg_match('#Edge/([a-zA-Z0-9.]+)#i', $ua, $matches)){
|
}elseif (preg_match('#Edge/([a-zA-Z0-9.]+)#i', $ua, $matches)){
|
||||||
$title = 'Microsoft Edge '. $matches[1];
|
$title = 'Edge '. $matches[1];
|
||||||
|
$icon = 'edge';
|
||||||
|
}elseif (preg_match('#Edg/([a-zA-Z0-9.]+)#i', $ua, $matches)){
|
||||||
|
$title = 'Edge Dev (Chromium) '. $matches[1];
|
||||||
$icon = 'edge';
|
$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];
|
||||||
|
Loading…
Reference in New Issue
Block a user