There are a number of use-cases for which you would want to browse a mobile-optimized website on your PC. When you visit the mobile website on your PC’s web browser, the website displays the full content much to your dismay. However, when you visit the browser on a mobile, it displays a perfectly mobile optimized page.

In these cases, there are some simple steps that you can follow to open mobile websites on your PC:

  1. Download and install the latest version Firefox from http://www.getfirefox.com/.
  2. Visit Firefox Add-ons page and download the Modify Headers addon.
  3. Install the addon and restart firefox.
  4. From the firefox window, select “Tools” menu & click on “Modify Headers” option (Tools -> Modify Headers).
  5. The window will open as shown:
    Modify Headers Addon Window Click to enlarge
  6. Below the title bar, there’s a drop down. Select “Add” from the drop down box.
  7. Now in the text box next to the drop down, type “user-agent”.
  8. In the third text box, paste this 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.
  9. Click on “Save”.
  10. The screen should look like as shown in the screen shot below:
    Filled screen of the addon Click to enlarge
  11. Using the buttons on the Modify Headers addon window, you can enable or disable particular items.
  12. That’s it! Whenever you want to view a mobile website, just go to Tools->Modify Headers and enable the user agent you added in step 8. When you don’t need it, just open this window and disable it.
  13. You can close addon window after you have enabled/disabled items.
  14. Enjoy! :)

Behind the Scenes:

Most mobile websites make use of the HTTP header called “User-Agent”. This header tells the server what kind of web browser the user has. So, mobile websites usually look for the name of the device manufacturer in the User-Agent header. If it matches one of the manufacturers then the mobile optimized web page is sent.

That’s about it! Hope you enjoyed this brief.

Now go and figure out how to display the iPhone version of Facebook on your PC ;)

31 Responses to “How to open mobile websites on your PC browser”

  1. thenmozhi Says:

    How to use this web services in my program.could you guide me.

  2. Izzy Says:

    HEY!!! THANK YOU SOOOOOOOO! MUCH!!!!!

    YOU HAVE NO IDEA HOW BIG FINDING THE GOOGLE LINK YOU YOUR GUIDE HAS BEEN!!!! YOU’VE JUST HELPED ME FINISH DOING A LIL HACK FOR MY FRIENDS MOBILE WEBSITE (IN A BET I HAD GOING ON)

    THANK YOU AGIAN!!!!!!

  3. harish Says:

    thanx a lot
    you rock!!!!!!!!

  4. chris Says:

    This didnt work at all for me, i followed the steps, but the browsers header is the same, i can’t go to mobile sites.. geez, bummer.

  5. Joe Says:

    Its work. put “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″ at value not comment.

  6. vivek Says:

    its really guuuuuuuuuuuud.

  7. sage Says:

    thnx buddy ,,,,,,, it made my work easier

  8. Npn Says:

    It is not working with websites like “wapking.net”.

  9. nikit Says:

    hi…… buddy thats tricks only work on windows xp
    but i update win7 thats tricks does not work. plz reply for win7 setting for mobile site open on pc.

  10. Gaurav Mishra Says:

    I want a header for Nokia 7210 Supernova. Please!!!! :-)

  11. Aswin Anand Says:

    Visit http://www.aswinanand.com/1.php to get it.

  12. Harshal Says:

    It doesn’t work on my firefox, when i try to open the mobile site, it says please visit through a mobile device…

  13. Rimesh Says:

    hey thanks its great.. but i think you should help more..
    I opened m.facebook.com its working nice!!
    but I opened http://waptrick.com
    http://wap.in/_common/free_wap_site.jsp?__wt=1
    these sites are not working… please help me.. I want to open that sites on my PC browser..

  14. Chizoba Says:

    m.facebook.com opens with or without any header. Thia just does not work!

  15. M.H TAREK Says:

    Hi I am Tarek. I live in Bangladesh.I am a curious student of Bangladesh.I want to be popular all of the world.Are you help me for this.I want to do friendship of many foreign friend.

  16. sunil Says:

    please give me that tric for win7

  17. meow Says:

    wow this trick is coooolllllllllll
    i did a lot of googling and at last found this page
    thanks a lot
    :)

  18. chanakya Says:

    thanks a tonn!!!

  19. Chrome Says:

    Google Chrome does the magic. just put a ‘m.’ in front of the web address as in “http://m.facebook.com/”

  20. santosh Says:

    it works………….thank u

  21. santosh Says:

    it also works in windows 7…i tried in windows 7 it succeed

  22. Pankaj Says:

    The tricks is working fine in my win7 system with firefox 13.0 … thanks a lot…

  23. shanker Says:

    he dud i just read this and tried it’s like dream come true, it’s really works.tanks a lot

  24. Advait Says:

    Thank u very much. Ur trick worked. I was finding this for many days, got this link & its working now. Ur trick is very helpful.

  25. Charan Says:

    Wow thankyou very very very much…
    I loved It…
    Keep it up.

  26. KedarLasane Says:

    You can also make use of user agent switcher addon on mozilla. Its very easy

  27. Norman Says:

    Thanks. If you have limited bandwidth like me (3G) this is really good. Works really well/

  28. Prith Says:

    Thanks a lot buddy

  29. Vysakh Says:

    great … very helpful …thanks dude … :)

  30. Nikunj Bhagat Says:

    Very nice info, very useful to test my mobile version of website on my laptop.
    Thanx.

  31. gokul Says:

    thanks so much..use this header
    Mozilla/5.0 (Linux; U; Android 2.1-update1; de-de; GT-I9000 Build/ECLAIR) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17
    for browse like android device….it looks great..

Leave a Reply