How to Use chrome to simulate a WeChat browser on a computer

Source: Internet
Author: User
Some web pages can only be accessed in. After you copy the link and access it on your computer, you will be redirected to another page. How can I use chrome to simulate a built-in browser on a computer? Has someone made a success? Baidu cannot change the userAgent. Some web pages can only be accessed in. After you copy the link and access it on your computer, you will be redirected to another page.
How can I use chrome to simulate a built-in browser on a computer?
Has someone made a success?
Baidu cannot change the userAgent.

Reply content:

Some web pages can only be accessed in. After you copy the link and access it on your computer, you will be redirected to another page.
How can I use chrome to simulate a built-in browser on a computer?
Has someone made a success?
Baidu cannot change the userAgent.

Android UAmozilla/5.0 (linux; u; android 4.1.2; zh-cn; mi-one plus build/jzo54k) applewebkit/534.30 (khtml, like gecko) version/4.0 mobile safari/534.30 micromessenger/5.0.1.352iPhone UAmozilla/5.0 (iphone; cpu iphone OS 5_1_1 like mac OS x) applewebkit/534.46 (khtml, like gecko) mobile/9b206 micromessenger/5.0JS determine whether the browser function isWeixinBrowser () {var ua = navigator. userAgent. toLowerCase (); return (/micro Messenger/. test (ua ))? True: false ;}

How to modify the ua of chrome
1. Use a script to modify
Http://www.zimohan.com/wldd/78.html
2. Use chrome Extension
Http://archives.guao.hk/posts/chrome-extension-chromeleon-user-agent-spoofer.html

Built-in ua
Http://dearb.me/archive/2013-10-30/weixin-browser-user-agent/

Debugging

I wonder if this meets your requirements

Most pages are judged by UA, but there are also some pages that are provided by calling the method of JS-SDK, if the call fails to indicate that they are not in the browser environment, you can try mock these Apis

The method for modifying ua does not seem to work. The webpage may be determined by jssdk.
Is there a way or plug-in to Disable Automatic Webpage jump?

It should not work. If jssdk is used, it should call the private API of the browser to determine whether it is, but chrome does not have these Apis.

Forged browser HTTP_USER_AGENT
Http://www.dayecn.com/science/859_2.html
Read this article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.