diff --git a/src/scripts/browser.js b/src/scripts/browser.js index 9f81ec7561..1e7b5fb34c 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -240,6 +240,9 @@ browser.edgeUwp = browser.edge && (userAgent.toLowerCase().indexOf('msapphost') if (!browser.tizen) { browser.orsay = userAgent.toLowerCase().indexOf('smarthub') !== -1; } else { + // UserAgent string contains 'Safari' and 'safari' is set by matched browser, but we only want 'tizen' to be true + delete browser.safari; + const v = (navigator.appVersion).match(/Tizen (\d+).(\d+)/); browser.tizenVersion = parseInt(v[1]); }