Current time: 12-17-2017, 08:15 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Mobile results in complex environment
10-28-2014, 12:31 AM
Post: #1
Getting Mobile results in complex environment
From what I understand, the mobile agents don't support scripting.

Specifically I'm most interested in the setDNSName , modifying HOST name, and adding headers and/or cookies.

I've been experimenting with the mobile=1 api parameter, which I understand to be Chrome emulation, but I've noticed on Dulles that sometimes the user agent is RAZOR and sometimes it's NEXUS 5.

I thought mobile =1 set the user agent , viewport and other parameters automatically.

Am I doing something wrong? Is this a bad setting on one of the agents, or is there a better way to do what I'm doing?
Find all posts by this user
Quote this message in a reply
10-29-2014, 10:55 PM
Post: #2
RE: Getting Mobile results in complex environment
It should set the user agent string. It used to be a Razor and recently changed to a Nexus 5. It's possible I missed code somewhere and just need to update it.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-29-2014, 10:59 PM
Post: #3
RE: Getting Mobile results in complex environment
Hmm, A search on all of the code doesn't show a Razor string anywhere. Any chance you have an example test result I can see that has the problem?
Visit this user's website Find all posts by this user
Quote this message in a reply
10-29-2014, 11:31 PM
Post: #4
RE: Getting Mobile results in complex environment
(10-29-2014 10:59 PM)pmeenan Wrote:  Hmm, A search on all of the code doesn't show a Razor string anywhere. Any chance you have an example test result I can see that has the problem?

The specific user string is
User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; DROID RAZR Build/6.7.2-180_DHD-16_M4-31)

(Sorry for the typo). I'll send you the test offline (confidentiality reasons)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)