mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +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
|
|
);
|
|
}
|