Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE11(docmode=Edge)でh5.env.ua.isIEがfalseになり、browserVersionも取得できない。 #256

Closed
fukudayasuo opened this issue Nov 21, 2013 · 1 comment
Assignees
Milestone

Comments

@fukudayasuo
Copy link

IE11のユーザエージェントは以下のようになっている。("MSIE"は含まれていない)。

Windows8.1のIE11
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; rv:11.0) like Gecko

Windows7のIE11
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko

参考 http://msdn.microsoft.com/ja-jp/library/ie/bg182625(v=vs.85).aspx

fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Nov 21, 2013
@fukudayasuo
Copy link
Author

"MSIE"に加えて"Trident"が含まれているかどうかも判定に使用するようにしました。
(IE7には"Ttrident"が含まれていないため、"MSIE"が含まれるかどうかとの論理和で判定しています。)

@simdy simdy added this to the v1.1.9 milestone Feb 25, 2014
@simdy simdy closed this as completed Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants