使用firefox浏览手机wap使用firefox浏览wml,切换user agent --转自某同事 在我们做wap开发时,有很多情况下需要切换user agent,以查看不同ua适配的页面效果。firefox有两个插件可以帮我们做到这一点。 做法: 1. 下载所需的安装文件: a) Firefox: http://www./firefox/ b) User Agent Switcher Extension: http:///work/useragentswitcher/ c) Wmlbrowser Extension: http://wmlbrowser./installation/wmlbrowser.html 2. 安装Firefox Author: clapton_xpAThotmailDOTcom 3. 安装上述两个插件:在Firefox中open对应的两个xpi文件即安装。重启Firefox。 4. 配置两个插件 a) Wmlbrowser无须配置自动生效,在请求wml页面时自动生效 b) User Agent Switcher在Tools-> User Agent Switcher->Options->Options->User Agents中可以添加修改删除所需的UA项。 |
|