Reprinted from:
Http://www.umtry.com/201106/firefox%E6%89%93%E9%80%A0%E6%89%8B%E6%9C%BAwap%E7%BD%91%E7% AB %99%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83.html5
1. Download and install Firefox (required)
2. Install Firefox additional components-> modify headers additional components.
3. Install Firefox additional components-> User Agent switcher additional components.
4. After the installation is complete, restart Firefox. The two extensions are already in the toolbar.
5. now we need to add an X-wap-profile HTTP header. Most smart mobile sites will determine the mobile devices used by visitors based on this header. Currently, only the iPhone does not support HTTP headers, you can use a search engine to search for the uaprof URL Lis. There will be many and the most ideal search place is Motorola's library.
The following is a UA profile URL of Nokia e71:
Http://nds1.nds.nokia.com/uaprof/NE71-1r100.xml
6. Open modify Headers
@ Select Add from the drop-down list.
@ Fill in X-wap-profile in the first box.
@ Paste the UA profile URL for the Nokia e71 file address or the UA address you searched.
@ Comments
After filling in the information, click the Add button on the right. A new message is displayed below.
6. To implement real mobile browsing in Firefox, We need to configure the user agent to search for "Nokia e71 user agent" or the user agent of other mobile devices. The e71 is like this:
Mozilla/5.0 (symbianos/9.2; U; series60/3.1 NokiaE71-1/110.07.127; profile/MIDP-2.0 configuration/CLDC-1.1) app
7. In this case, the user agent switcher will be used. Open tools> Default User Agent> User Agent switcher> options in the following path:
8. Select New
9. paste the user agent of e71, give a name, and save it.
In this case, the default user agent has an additional item named "Nokia e71 user agent". Clicking it will allow Firefox to simulate the e71 environment.