Spaces:
Paused
Paused
Download client/modules/mobileDetection.ts from DeepsoftAI/Deep-Search: direct link, hf CLI and curl.
- Browser
- Download file 144 Bytes
-
https://huggingface.co/spaces/DeepsoftAI/Deep-Search/resolve/main/client/modules/mobileDetection.ts
- Command line
-
hf download hf://spaces/DeepsoftAI/Deep-Search/client/modules/mobileDetection.ts
-
curl -L -o mobileDetection.ts https://huggingface.co/spaces/DeepsoftAI/Deep-Search/resolve/main/client/modules/mobileDetection.ts
144 Bytes
| import MobileDetect from "mobile-detect"; | |
| export const isRunningOnMobile = | |
| new MobileDetect(self.navigator.userAgent).mobile() !== null; | |