开发者

How to find out about theBroswer in GWT [duplicate]

开发者 https://www.devze.com 2023-01-22 13:10 出处:网络
This question already has an answer here: Closed 12 years ago. 开发者_C百科 Possible Duplicate: How to find out about the User Agent in GWT
This question already has an answer here: Closed 12 years ago. 开发者_C百科

Possible Duplicate:

How to find out about the User Agent in GWT

I am trying to write browser specific code. Is there a GWT API to find out which browser the client is using?


Check out this GWT API: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/Window.Navigator.html

For instance, for Firefox: https://developer.mozilla.org/en/DOM/window.navigator.userAgent

0

精彩评论

暂无评论...
验证码 换一张
取 消