Feature #5404

We need a mobile friendly user-agent

Added by n8fr8 over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:06/25/2015
Priority:NormalDue date:
Assignee:amoghbl1% Done:

0%

Category:-
Target version:Orfox Alpha 2
Component:

Description

(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?


Related issues

Copied to Orfox Private Browser - Feature #7795: We need a mobile friendly user-agent Closed 06/25/2015
Copied to Orfox Private Browser - Feature #8201: We need a mobile friendly user-agent Closed 06/25/2015

Associated revisions

Revision cc3f20eb
Added by amoghbl1 over 2 years ago

submodule update: Bug #5404 - We need a mobile friendly user-agent.

History

#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.

#2 Updated by amoghbl1 over 2 years ago

  • Status changed from New to Resolved

#3 Updated by amoghbl1 over 2 years ago

  • Status changed from Resolved to In Progress

Using

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

#4 Updated by n8fr8 over 2 years ago

  • Target version changed from Orfox Alpha to Orfox Alpha 2

#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?

#6 Updated by n8fr8 over 2 years ago

  • Status changed from In Progress to Resolved

#7 Updated by n8fr8 over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF