I have a redirect button for whatsapp on my site that does not work on ios, would I have some way to hide it just for that OS? In case it is inside a href in html, it would suffice to hide it when the user is using iOS.
I have a redirect button for whatsapp on my site that does not work on ios, would I have some way to hide it just for that OS? In case it is inside a href in html, it would suffice to hide it when the user is using iOS.
You can try this approach,
var ehIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if(ehIOS){
//codigo para ocultar
}