Problem: I built a webpage for a company. They have an app they want people to download. It is only available on in the apple store. I made a button that directs consumers to the apple store. I need to change the button's function and text when seen on an android device OR I need to hide each button when it is seen on the android device. Does anyone have any ideas for how to do this?
Asked
Active
Viewed 13 times
0
-
You can do this by looking at the so-called "user agent". See the link I added at the top for details about how to do it. – Code-Apprentice Jul 08 '21 at 21:03