browser: merge deprecated agents on newer target
[sheet.git] / tools / mkusage-squid
index c751f7679907d935ef577bdfbe2eaca0e0b4c593..a43c5733c2bce9cb38e2cc92f9bef5b37797d10e 100755 (executable)
@@ -60,7 +60,7 @@ given ($browser) {
                continue;
        }
        when ('MSIE') {
-               $browser = $mobile ? 'ie_mob' : 'ie';
+               $browser = $mobile ? 'ie_mob' : 'edge';
                continue;
        }
        when ('Opera') {
@@ -79,11 +79,11 @@ given ($browser) {
                $browser = $mobile ? 'ios_saf' : 'safari';
        }
        when ('Chrome') {
-               $browser = $mobile ? 'android' : 'chrome';
+               $browser = $mobile ? 'and_chr' : 'chrome';
                s/\.\d+$// for $version;
        }
        when ('Android') {
-               $browser = 'android';
+               $browser = 'and_chr';
        }
        when ('BlackBerry') {
                $browser = 'bb';