鄙视google和暴雪: 使用firefox浏览手机wap
来源:百度文库 编辑:神马文学网 时间:2024/05/21 14:34:11
使用firefox浏览手机wap
使用firefox浏览wml,切换user agent
--转自某同事
在我们做wap开发时,有很多情况下需要切换user agent,以查看不同ua适配的页面效果。firefox有两个插件可以帮我们做到这一点。
做法:
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
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项。
使用firefox浏览wml,切换user agent
--转自某同事
在我们做wap开发时,有很多情况下需要切换user agent,以查看不同ua适配的页面效果。firefox有两个插件可以帮我们做到这一点。
做法:
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
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项。