script.jsexport function isMobile() { return [...document.getElementsByClassName('mobile-cursor')].length > 0; }