o let btn = document.querySelector(".neon-button"); if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) btn.setAttribute("href", "../.."); else