jQuery Distinguish Chrome – Safari

To  detect Google Chrome by using the jQuery use below code:

// Is this a version of Chrome?
var isChrome = (navigator.userAgent.toLowerCase().indexOf(‘chrome’) >= 0);
if(is_chrome == true){
//do chrome stuff

Share this nice post:

One thought on “jQuery Distinguish Chrome – Safari

  1. This blog is wonderful. There is usually all the right details in the ideas of my fingers. Thanks and maintain up the beneficial work!

Comments are closed.