Firefox模拟手机访问手机网站

说明:

  此方法只能用以那些以识别UA来判断的网站

使用步骤:

  第一步:打开Firefox,点击菜单,工具-〉附加组件-〉获取附加组件;

  第二步:查询安装三个组件:User Agent Switcher、wmlbrowser、XHTML Mobile Profile;

  wmlbrowser、XHTML Mobile Profile是用来兼容解析WAP网页格式的组件;

  User Agent Switcher是模拟User Agent(UA)的组件,就是让浏览器假装成手机UA头,访问手机网站时让丫发给你一个适配页面;

  第三步:重启Firefox;

  第四步:设置UA。在 工具-〉Default User Agent-〉User Agent Switcher-〉Options…-〉New ->New User Agent,填写一下Description和User Agent。主要是User Agent正确了就OK。

另:批量导入常用的UA列表,步骤如下:

  工具-〉Default User Agent-〉User Agent Switcher-〉Options…-〉Import。导入即可。UA列表

wmlbrowser

  说明:Simulate WAP browsing by viewing WML(Wireless Markup Language) pages.

XHTML Mobile Profile
  说明:Firefox does not natively support the mime-type application/vnd.wap/xhtml+xml. This is one of the possible mime-types for XHTML Mobile Profile. This addon adds support for this mime-type.

User Agent Switcher

  说明:The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of a browser.

posted on 2013-10-17 09:39  AngelLee2009  阅读(571)  评论(0编辑  收藏  举报

导航