If you are developing on mobile applications, it’s not always so easy to continue to test on your iPhone or Android devices. A trick around doing that work is to modify your User-Agent and screen dimensions in order to trick your current browser into making the server think you are coming from a mobile browser. For example, if you are testing iOS or Android browsing, it’s very easy to get a typical WebKit browser, such as Chrome, and trim down the responses to trick your server.
You can do this right from the developer tools. Even Internet Explorer has these replacements written into the developer tools. Simply open up your Developer Tools:
And then click the Settings button in the lower right corner. You will then see a settings tab for “Overrides” where you can modify your “User Agent”. I suggest a version of Firefox.
This is still pretty new for Chrome, so often times the spoof is not “sticky”. For better solutions, I would suggest installing a User-Agent spoofer extension, which can force all of your request headers to be properly replaced.
The wonders of browsing.
*Also Note* I analyzed the extension, looking for potential server requests to steal passwords or user information. The plugin looks clean and Approved!