From 1df38d7d7d5a7e933c61f79ef737be66ab974310 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 20 May 2022 20:31:03 +0200 Subject: Add AppleWebKit UA string. --- server.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server.js') diff --git a/server.js b/server.js index d28fb31..390a93e 100644 --- a/server.js +++ b/server.js @@ -311,6 +311,8 @@ function parse_user_agent(req) { agent = "MSIE"; else if (user_agent.indexOf("Trident/") >= 0) agent = "MSIE"; + else if (user_agent.indexOf("AppleWebKit/") >= 0) + agent = "AppleWebKit"; if (user_agent.indexOf("Mobile") >= 0) return agent + "/M"; return agent; -- cgit v1.2.3