做法:
? 1.下載所需的安裝文件:
? a) Firefox: http://www.mozilla.com/firefox/
? b) User Agent Switcher Extension: http://chrispederick.com/work/useragentswitcher/
? c) Wmlbrowser Extension: http://wmlbrowser.mozdev.org/installation/wmlbrowser.html
??d) FireBug? https://addons.mozilla.org/en-US/firefox/addon/1843 此工具用來(lái)調(diào)試,get post 的請(qǐng)求跟相應(yīng)信息。
? 2.安裝 Firefox Author: clapton_xpAThotmailDOTcom
? 3.安裝上述兩個(gè)插件:在 Firefox 中 open 對(duì)應(yīng)的兩個(gè) xpi 文件即安裝。重啟 Firefox 。
兩個(gè)wap插件的下載地址如下:(通過(guò)firefox瀏覽器訪問(wèn)以下地址并下載安裝)
wmlbrowser 0.7.17
Simulate WAP browsing by viewing WML (Wireless Markup Language) pages in Mozilla, SeaMonkey or Mozilla Firefox.
WBMP images are not supported.
User Agent Switcher 0.6.11
Adds a menu and a toolbar button to switch the user agent of the browser.
? 4 配置兩個(gè)插件
? a) Wmlbrowser 無(wú)須配置自動(dòng)生效,在請(qǐng)求 wml 頁(yè)面時(shí)自動(dòng)生效
? b) User Agent Switcher 在 Tools-> User Agent Switcher->Options->Options->User Agents 中可以添加修改刪除所需的 UA 項(xiàng)。
? 5. 添加 CMWAP 代理:跟 Opera 的做法類似
? a) Tools->Options->General->Connection->Connection Settings->Manual proxy configuration
??b) HTTP Proxy:10.0.0.172 Port:80
?? 6. 撥號(hào)至 CMWAP ,選擇配置好的 UserAgent ,即可上網(wǎng)嘍, www 和 wap 都可以。
?? 關(guān)于怎么進(jìn)行CMWAP撥號(hào),網(wǎng)絡(luò)上的設(shè)置以及參考資料相當(dāng)?shù)亩啵信d趣的可以查看下。
?
上面的組合完美無(wú)比,足可以完成所有的wap操作。包括移動(dòng)的517網(wǎng)關(guān)攔截,訂購(gòu)頁(yè)面的debug