We need a mobile friendly user-agent
|Target version:||Orfox Alpha 2|
(04:48:49 PM) n8fr8: 1) does just putting in "Android" in place of "Windows NT" make it work properly on mobile sites?
(04:48:59 PM) n8fr8: 2) can we pass the tor check regex with that switch?
(04:49:14 PM) n8fr8: 3) how hard is it to add a "mobile optimized mode" preference in the settings?
#1 Updated by amoghbl1 over 2 years ago
Replaced the "Request Desktop Site" option with "Request Mobile Site".
This is unset by default and the default tor-browser user agent is used, but this option allows one to switch to an Orfox specific user agent, check https://github.com/amoghbl1/tor-browser/commit/520f527192fd2e9d7f8b1fd549eec37e7ac69cd9.
The check github repo has been updated with a PR https://github.com/arlolra/check/pull/27 Which makes check.tpo identify the Orfox browser, I've asked arlora to update this, should be done in the next few hours.
#3 Updated by amoghbl1 over 2 years ago
- Status changed from Resolved to In Progress
Mozilla/5.0 (Android; Mobile; rv:31.0) Gecko/20100101 Firefox/31.0
Might not be too good an idea. Using something like
Mozilla/5.0 (Android; Mobile; rv:31.0) Gecko/31.0 Firefox/31.0
Might be more standard, need more information on this one. This would also require a new PR to be opened with arlora at check.tpo
#5 Updated by amoghbl1 over 2 years ago
According to GeKo's advice in http://meetbot.debian.net/tor-dev/2015/tor-dev.2015-06-29-18.00.log.txt, it does not make a difference what UA we use as it is possible to say whether it is a mobile user or not.
18:18:47 <arthuredelstein> amoghbl1: Orfox will have a unique fingerprint, which distinguishes it from other browsers -- that's unavoidable. The hope is to give all Orfox users the same fingerprint, so they can't be distinguished from one another. 18:19:39 <amoghbl1> hmm, so we might as well stick to the mobile UA instead of using the desktop one? 18:19:46 <GeKo> yes
So do we just use the mobile UA and be done with it?