Posts by Carlos Ronaldo • 1 point
1 post
-
0
votes4
answers23157
viewsA: Identify if the device is pc or mobile and use a different code for each
I found this on the web, I tested it and it worked: <script type="text/javascript"> var userAgent = navigator.userAgent.toLowerCase(); var devices = new…