Skip to content

Instantly share code, notes, and snippets.

@fermuch
Created January 26, 2013 20:53
Show Gist options
  • Save fermuch/4644545 to your computer and use it in GitHub Desktop.
Save fermuch/4644545 to your computer and use it in GitHub Desktop.
var MIN_CHROME_VER = 24;
if(parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2]) >= MIN_CHROME_VER){
// el loco sabe y usa chrome!
$('#alert').hide();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment