gwt.xml中可能的user.agent值是什么? [英] What are the possible user.agent values in gwt.xml?

查看:95
本文介绍了gwt.xml中可能的user.agent值是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道gwt.xml中可能的user.agent值是多少。我发现了其中的一些,但不幸的是没有列出完整的列表。 b


  • Chrome - safari

  • Firefox - gecko1_8

  • Internet Explorer 6 - ie6



其他人是什么? Opera,ie7,ie8,...等。

解决方案

取决于GWT的版本,但是这里是最新的: https://gwt.googlesource .com / gwt / + / master / user / src / com / google / gwt / useragent / UserAgent.gwt.xml
$ b

UPDATE :模块已从 com.google.gwt.user.UserAgent 移至 com.google.gwt.useragent.UserAgent ,以上链接已更新。


$ b 更新2 :GWT资源已移至gwt.googlesource.com


I was wondering what are the possible user.agent values in gwt.xml. I found some of them but unfortunately not the complete list.

  • Chrome - safari
  • Firefox - gecko1_8
  • Internet Explorer 6 - ie6

What are the others?? Opera, ie7, ie8, ... etc.

解决方案

Depends on the version of GWT, but here's the latest: https://gwt.googlesource.com/gwt/+/master/user/src/com/google/gwt/useragent/UserAgent.gwt.xml

UPDATE: the module has moved from com.google.gwt.user.UserAgent to com.google.gwt.useragent.UserAgent, link above updated.

UPDATE 2: GWT sources have moved to gwt.googlesource.com

这篇关于gwt.xml中可能的user.agent值是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆