mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-19 17:18:12 +09:00
3 lines
109 B
TypeScript
3 lines
109 B
TypeScript
const ua = navigator.userAgent.toLowerCase();
|
|
export const isMobile = /mobile|iphone|ipad|android/.test(ua);
|