Skip to content

Commit

Permalink
Ensure Safari has priority over most crawlers except the ones that ar…
Browse files Browse the repository at this point in the history
…e known to have it.
  • Loading branch information
allinurl committed Sep 20, 2018
1 parent 4012a0e commit 2b3625a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/browsers.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,23 +151,27 @@ static const char *browsers[][2] = {

{"CriOS", "Chrome"},

/* Crawlers/Bots */
/* Crawlers/Bots (Possible Safari based) */
{"bingbot", "Crawlers"},
{"msnbot", "Crawlers"},
{"AppleBot", "Crawlers"},
{"Yandex", "Crawlers"},
{"msnbot", "Crawlers"},
{"Baiduspider", "Crawlers"},
{"Ezooms", "Crawlers"},
{"Twitter", "Crawlers"},
{"Slurp", "Crawlers"},
{"Yahoo", "Crawlers"},
{"Slack", "Crawlers"},
{"AppleBot", "Crawlers"},
{"facebook", "Crawlers"},

{"Safari", "Safari"},

/* Crawlers/Bots */
{"Ezooms", "Crawlers"},
{"AhrefsBot", "Crawlers"},
{"Abonti", "Crawlers"},
{"Mastodon", "Crawlers"},
{"MJ12bot", "Crawlers"},
{"SISTRIX", "Crawlers"},
{"facebook", "Crawlers"},
{"DotBot", "Crawlers"},
{"Speedy Spider", "Crawlers"},
{"Sosospider", "Crawlers"},
Expand Down Expand Up @@ -311,8 +315,6 @@ static const char *browsers[][2] = {
{"internetVista", "Uptime"},
{"Server Density Service Monitoring v2", "Uptime"},

{"Safari", "Safari"},

{"Mozilla", "Others"}
};

Expand Down

0 comments on commit 2b3625a

Please sign in to comment.