vue check browser type code example Example: browser version check for chrome or firefox typescript browser version check for chrome or firefox typescript