1、打开Chrome,右键检查(F12)打开开发者工具,操作步骤:菜单==》More Tools==》Network condition打开配置窗口,如图所示:
2、User agent默认选中Select automatically,取消默认选中,选择Custom(自定义),在下面输入框中输入Android或IOS的微信user agent(用户代理,简写卫UA)即可。Android和IOS的user agent如下:
Android微信UA:
mozilla/5.0 (linux; u; android 8.0.0; zh-cn; mi-one plus build/jzo54k) applewebkit/534.30 (khtml, like gecko) version/8.0 mobile safari/534.30 micromessenger/5.0.1.352
IOS微信UA:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Micromessenger/5.0