获得浏览器userAgent

直接用navigator.userAgent即可 “Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac …