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

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

问题描述

我想知道 gwt.xml 中可能的 user.agent 值是什么.我找到了其中一些,但遗憾的是不是完整列表.

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

其他人呢??Opera、ie7、ie8、...等

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

推荐答案

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

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:模块已从 com.google.gwt.user.UserAgent 移至 com.google.gwt.useragent.UserAgent, 以上链接已更新.

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

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

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

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

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