---
title: "Chrome访问Wap"
author: "ashnl007"
date: "2014-09-26T16:33:28Z"
tags: []
categories: ["移动开发"]
slug: "chrome-wap"
draft: false
lastmod: "2014-09-26T16:33:28Z"
id: 2122748
url: "https://ashnl007.iteye.com/blog/2122748"
---

Chrome可以通过Command Line来启动，使得能正常访问Wap网站

主要使用 --user-agent

谷歌Android:

chrome.exe --user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

苹果iPhone：

chrome.exe --user-agent="Mozilla/5.0 (iPad; U; CPU OS 3\_2\_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B500 Safari/531.21.10"

诺基亚N97：

chrome.exe --user-agent="Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/20.0.019; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) BrowserNG/7.1.18124"