showing results for - "identify chrome on android using javascript"
Viktoria
02 Oct 2016
1$(document).ready(function(){
2    var ua = navigator.userAgent;
3
4    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(ua))
5       $('a.mobile-other').show();
6
7    else if(/Chrome/i.test(ua))
8       $('a.chrome').show();
9
10    else
11       $('a.desktop-other').show();
12});
13
Jessim
08 Jun 2020
1var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
2