Do you have access to a specific mobile website usually with .mobi domain from your PC?. Most of the mobile website owners made to redirect when we enter tyhe mobile website on our PC browser such as Google Chrome, Mozilla Firefox. So, What should we do to access these web sites from desktop browser?. Luckily there is lot of ways to do this. Irrespective of which method you use, it ultimately changes the user agent to access that web page. User agents work in a network protocol and tells the server the system information from where the access is originated. The trick we apply here is called User agent spoofing which means web browsers spoof their identification to access a server content.
I’ll explain two methods here one which can be used to switch user agents in Google Chrome and Firefox using readymade extensions . The other method explain how to manually add a user agent in Firefox using Modify Headers addon.
As I said earlier, extension to done user agent switching is available to download for both chrome and Firefox. You’ll have to install either User-Agent Switcher for Chrome from chrome web store or User-Agent Switcher for Firefox.
After installing the extension, for chrome, the plugin icon will be visible near to address bar on the right. open a new tab, left-click on the Chrome UA spoofer icon and iOS > iPhone 4 and you’re done. From now you’ll sure get access to that particular mobile website from Chrome.
In case of Firefox, after installing the addon, goto Tools > Default User Agent and select iPhone 3. After you’ve done with that website, return back to normal UA by clicking Default user agent (For chrome, it is chrome > default.)
Here also we perform user agent switching but manually unlike using switching addons. As I explained already, mobile websites makes use of user agents that are actually HTTP header. this header tells the server about the browser which the user has. So modifying the header will also do the trick of changing UA. to do this in Firefox, we have an addon called Modify Headers. Install the addon, restart Firefox and follow the instructions.
- From Tools menu click Addons. Click extensions, click options of Modify Headers extension.
- A window will appear like below.
- There is a drop down list, click and choose “Add”.
- Then on the small box on the right, type “user-agent” without quotes.
- In the next text box, paste this User-Agent string
Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaE51-1/100.34.20; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413.
- Click Add. now you’ve added a user-agent header. Now in order to enable the plugin actually, you need click on start on the top left. The the Addon options window will look like this:
- Enable/disable button allows you to activate or deactivate particular headers.
- You’re done. Whenever you want to visit a mobile website, just goto Modify Headers options and enable the header. Always make sure that the addon is started.
- You should now have access to the mobile page.