mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1// https://stackoverflow.com/questions/7944460/detect-safari-browser 2export const isSafari = /^((?!chrome|android).)*safari/i.test( 3 navigator.userAgent, 4) 5export const isFirefox = /firefox|fxios/i.test(navigator.userAgent) 6export const isTouchDevice = window.matchMedia('(pointer: coarse)').matches 7export const isAndroidWeb = 8 /android/i.test(navigator.userAgent) && isTouchDevice