ブラウザのバージョンを取得します。

$ {バージョン} Javascriptがwindow.navigator.userAgentを返す実行

おすすめ

転載: www.cnblogs.com/nieliangcai/p/11576904.html