firefox下調試wap網頁的方法

 做法:

  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 此工具用來調試,get post 的請求跟相應信息。

  2.安裝 Firefox Author: clapton_xpAThotmailDOTcom

  3.安裝上述兩個插件:在 Firefox 中 open 對應的兩個 xpi 文件即安裝。重啓 Firefox 。

兩個wap插件的下載地址如下:(通過firefox瀏覽器訪問以下地址並下載安裝)


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 配置兩個插件

  a) Wmlbrowser 無須配置自動生效,在請求 wml 頁面時自動生效

  b) User Agent Switcher 在 Tools-> User Agent Switcher->Options->Options->User Agents 中可以添加修改刪除所需的 UA 項。

  5. 添加 CMWAP 代理:跟 Opera 的做法類似

  a) Tools->Options->General->Connection->Connection Settings->Manual proxy configuration

  b) HTTP Proxy:10.0.0.172 Port:80

   6. 撥號至 CMWAP ,選擇配置好的 UserAgent ,即可上網嘍, www 和 wap 都可以。

   關於怎麼進行CMWAP撥號,網絡上的設置以及參考資料相當的多,有興趣的可以查看下。

 

上面的組合完美無比,足可以完成所有的wap操作。包括移動的517網關攔截,訂購頁面的debug。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章