Kindle Fire 浏览器有桌面或移动查看模式设置,3 个选择分别是:
- 自动:针对每个网站进行优化
- 桌面:针对桌面视图进行优化
- 移动:针对移动视图进行优化
我的问题是,当它设置为自动时,它究竟在每个网站上寻找/关闭什么,以确定它是桌面优化网站还是移动优化网站。我问是因为如果用户将 Kindle 设置为自动,我想强制它进入一种模式。
Kindle Fire 浏览器有桌面或移动查看模式设置,3 个选择分别是:
我的问题是,当它设置为自动时,它究竟在每个网站上寻找/关闭什么,以确定它是桌面优化网站还是移动优化网站。我问是因为如果用户将 Kindle 设置为自动,我想强制它进入一种模式。
Don't assume automatic is per-request. As you can imagine, Silk can figure out the most popular sites like every other mobile device manufacturer does. Then in the background Silk does A/B testing in order of the most popular sites to see if there is a difference. If there is, then the Silk team uses some proprietary techniques to decide which one is better for the Fire. For example, if the desktop site is full of Flash, then mobile is the obvious better choice. If the mobile site is less functional than the desktop site and the desktop site looks fine, then (based on judgement) the desktop site is better.
There is nothing you can do as a developer to force one or the other because, as you can imagine, that would allow developers to override what should be a user setting.
So, my best advice is to make your site like normal. If you want Fire users to use the desktop site then provide that behavior by sniffing out user-agent strings.
Does that provide clarity?