javascript check if browser is chrome code example Example: browser version check for chrome or firefox typescript browser version check for chrome or firefox typescript