mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
4 lines
140 B
JavaScript
4 lines
140 B
JavaScript
window.getDeviceInfo = () => {
|
|
return navigator.userAgentData?.mobile ??
|
|
/Android|iPhone|iPad/i.test(navigator.userAgent);
|
|
}; |