nixcon2022 talk, blogpost version
This commit is contained in:
parent
f854ef75ca
commit
b333d2d023
131 changed files with 518 additions and 11 deletions
|
|
@ -1,8 +0,0 @@
|
|||
const UA = navigator.userAgent;
|
||||
|
||||
export const isMobile = /(iphone|ipod|ipad|android)/gi.test( UA ) ||
|
||||
( navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 ); // iPadOS
|
||||
|
||||
export const isChrome = /chrome/i.test( UA ) && !/edge/i.test( UA );
|
||||
|
||||
export const isAndroid = /android/gi.test( UA );
|
||||
Loading…
Add table
Add a link
Reference in a new issue