gwt.xml 中可能的 user.agent 值是什么? [英] What are the possible user.agent values in gwt.xml?
问题描述
我想知道 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屋!