0

Some online retailers offer special deals to people who browse their sites or make orders with a mobile phone.

Is there a way I can mimic a cell phone using a desktop computer so it looks like I am using a cell phone to connect to the web site?

7
  • What browser do you use?
    – user345866
    Nov 15, 2016 at 17:20
  • there are many ways they might choose to determine what platform you are on, and each of them will have a different solution, so don't expect a one-size-fits-all answer. Nov 15, 2016 at 17:35
  • @FrankThomas I understand the complexity, that's why the question exists. If this was a simple problem, I would not have needed to ask here. Nov 15, 2016 at 17:38
  • @TylerDurden - You will need to reduce the scope of the question. How you change the reported agent within IE11, Edge, Firefox, Chrome are all well documented. Its not clear the reason, changing the view agent, isn't enough. You should edit your question, and provide specific information, in what you are trying to do and the reason simply changing the view agent isn't enough.
    – Ramhound
    Nov 15, 2016 at 17:45
  • @Ramhound This is not an open ended question. There is a limited set of possible information in the browser header that will indicate whether the browser is mobile-based. I am interested in knowing a way to generate such headers. This will probably require more than just user agent switching. I need someone with experience in the area to answer the question. Nov 15, 2016 at 17:49

2 Answers 2

0

Change the User-Agent http header to somethink browser-like, e.g.: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36

0

You can change the user agent of your browser to mimic browsing from a mobile device.

If you're using Chrome browser, below are two options you can try out to change the user agent:

  1. User-Agent Switcher extension for Chrome: http://useragentswitcher.org/index.html
  2. Follow this guide which shows how to change the user agent without installing any extensions: http://www.howtogeek.com/113439/how-to-change-your-browsers-user-agent-without-installing-any-extensions/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .