blob: eae4e4434d120854d4933a6a24538c2f689341c4 (
plain)
1
2
3
4
|
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", "rannak/noMobiles");
|