开发者

How to find out about theBroswer in GWT [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜