Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kindle Fire useragent issues #1

Open
anjo-swe opened this issue May 2, 2012 · 2 comments
Open

Kindle Fire useragent issues #1

anjo-swe opened this issue May 2, 2012 · 2 comments

Comments

@anjo-swe
Copy link

anjo-swe commented May 2, 2012

Source: http://munday.ws/2011/12/kindle-fire-useragent-wtf/

Getting no result for these 4 user agents:

Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Silk/1.1.0-84) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Silk-Accelerated=false

Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Silk/1.1.0-84) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Silk-Accelerated=true

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.1.0-80) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=false

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.1.0-80) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=true

@OpenDDR
Copy link
Member

OpenDDR commented May 3, 2012

Hi anjo87,
First of all, thank you for your contribute! We really appreciate it!
Coming back to the issue, currently OpenDDR (since January 2012 version) handles the following User Agent for Amazon's Kindle Fire Tablet:

*     Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Kindle Fire Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

This UA refers directly to the Kindle device (as you can see there is "Kindle Fire" string on it). The UAs you listed will be added in June 2012 release of OpenDDR with the following strategy:
Initially, we will implement another BrowserBuilder (named SilkBrowserBuilder), in order to identify this kind of browser. In this way OpenDDR can return information about it.
One feature to consider of Silk Browser is that it can operate in two modes, mobile mode and desktop mode.
In "mobile mode" it uses an Android-like UA (like the first two UAs you listed) while in "desktop mode" Silk Browser uses an UA like the last two you listed.
Regarding Kindle Fire identification, currently the Silk Browser seems to be used only by this Amazon's tablet, but it's possible to install it on other Android devices by non "official" way; identifying Kindle Fire by Silk Browser UA can create mismatching in the latter case.
We will add a new entry (searching for "Silk-Accelerated" token) for AndroidDeviceBuilder in BuilderDataSourcePatch.xml to identify Kindle Fire in "mobile mode".
In case of "desktop mode" OpenDDR already identifies it like a generic desktop device.
If there will be some problems with devices different from Kindle Fire running Silk Browser, we will address them.

Cheers,
OpenDDR Dev. Team

@rezan
Copy link
Member

rezan commented May 7, 2012

The only other silk enabled device Ive seen is the PlayStation Vita:

"Mozilla/5.0 (PlayStation Vita 1.66) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2"
"Mozilla/5.0 (PlayStation Vita 1.67) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants