mirror of
https://github.com/bitwarden/browser
synced 2026-01-31 00:33:33 +00:00
8 lines
227 B
TypeScript
8 lines
227 B
TypeScript
export function isBrowserSafariApi(): boolean {
|
|
return (
|
|
navigator.userAgent.indexOf(" Safari/") !== -1 &&
|
|
navigator.userAgent.indexOf(" Chrome/") === -1 &&
|
|
navigator.userAgent.indexOf(" Chromium/") === -1
|
|
);
|
|
}
|