Steps To Emulate A Mobile Web Browser In Firefox

这是一个相当方便的工具,而且非常便于调试。

Step 1: Download the User Agent Switcher Add-on for Firefox

Step 2: Restart Firefox for the add-on change to take place.

Step 3: To emulate a mobile web browser, you will need to change the user agent string that is sent out, we recommend finding a appropriate user agent string from this huge list of mobile browser strings.

Step 4: Once you have identified your favorite mobile browser string, go to Tools –> User Agent Switcher –> Options –> Options in Firefox.

select_user_agent_switcher_options

Step 5: In the options window for user agent switcher, select User Agents and click on the add button.

add_new_user_agent

Step 6: In the new Add User Agent dialog box, give a appropriate name to the user agent and copy the user agent string you got from step 3 into the second text box, for example we are creating a user agent string for iPhone, so we named it as iPhone emulator and added the default user agent for iPhone in the User Agent text box.

create_iphone_emulator

You can leave the other options provided as blank, once you have entered the details, click on the Ok button.

Step 7: To start a new browsing session using a emulated web browser, go to Tools –> User Agent Switcher and select the appropriate mobile web browser you want to emulate, to switch back to normal browsing, just select the default option from the same menu.

iphone_emulator

This tip will allow you to browse mobile web sites or test them out from your PC, however this trick cannot be used to test out mobile applications, that require you to install something to the mobile phone, however you can still use this trick and save on bandwidth too.

原文地址:http://techie-buzz.com/tips-and-tricks/emulate-mobile-browser-in-firefox.html

posted @ 2011-06-03 11:58  无尽思绪  阅读(333)  评论(0编辑  收藏  举报