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
1var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
2