From 8fec38f29c1a0f8d4ecf97413e8e4837701bb82d Mon Sep 17 00:00:00 2001 From: Ksenia Berezina Date: Fri, 8 Jul 2022 13:20:41 -0400 Subject: [PATCH] Fixes #249 - Update the default Chrome version for UA overrides --- src/data/ua_overrides.js | 7 +++++-- src/lib/ua_helpers.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/data/ua_overrides.js b/src/data/ua_overrides.js index 9b4463f7..7dcdc3eb 100644 --- a/src/data/ua_overrides.js +++ b/src/data/ua_overrides.js @@ -838,7 +838,10 @@ const AVAILABLE_UA_OVERRIDES = [ config: { matches: ["*://nordjyske.dk/*"], uaTransformer: originalUA => { - return UAHelpers.getDeviceAppropriateChromeUA("97.0.4692.9", "Pixel 4"); + return UAHelpers.getDeviceAppropriateChromeUA( + "103.0.5060.71", + "Pixel 4" + ); }, }, }, @@ -893,7 +896,7 @@ const AVAILABLE_UA_OVERRIDES = [ config: { matches: ["*://www.otsuka.co.jp/fib/*"], uaTransformer: originalUA => { - return UAHelpers.getDeviceAppropriateChromeUA("97.0.4692.9"); + return UAHelpers.getDeviceAppropriateChromeUA(); }, }, }, diff --git a/src/lib/ua_helpers.js b/src/lib/ua_helpers.js index a1a50352..99c90749 100644 --- a/src/lib/ua_helpers.js +++ b/src/lib/ua_helpers.js @@ -9,7 +9,7 @@ var UAHelpers = { _deviceAppropriateChromeUAs: {}, getDeviceAppropriateChromeUA( - chromeVersion = "76.0.3809.111", + chromeVersion = "103.0.5060.71", specificAndroidDevice = "" ) { const key = `${chromeVersion}:${specificAndroidDevice}`;