I need some function returning a boolean value to check if the browser is Chrome.
How do I create such functionality?
var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );