Quick question. What's the user.agent value for chrome browser with gwt 2.4? I'm trying to limit permutations for my chrome and it doesn't compile (value used - 'chrome'). However this compiles properly
<set-property name="user.agent" value="safari" />
# Chrome for Android Phone pattern: 'Android' + 'Chrome/[. 0-9]* Mobile'
Just right click on any page and select your user-agent. This Chrome extension adds a toolbar button and a menu to switch between user-agents. Browse with our predefined user-agents or add your own user-agents. Changing User-Agent allows you to mimic, spoof or fake other browsers, devices or search engine spiders.
The permutations for both safari and chrome are same and named as "safari". The safari setting will work for chrome also. You can check "com.google.gwt.user.rebind.UserAgentPropertyGenerator".
However if you wish to limit it for chrome particulary, you can see here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With