Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Wechat JS interface to close Wechat built-in browser and return to Wechat chat window interface

Shulou Source: shulou.com Published: 2022-06-03 15:58:17 09月28日 Update

This article mainly introduces how to use Wechat JS interface to close Wechat built-in browser to return to Wechat chat window interface, the article is very detailed, has a certain reference value, interested friends must finish reading!

So far, three JS interfaces of Wechat have been announced: buttons in the upper right corner / navigation bar at the bottom / network status of users. In addition, forwarding to moments and sharing to friends can also be defined by using JS API.

If you close the Wechat browser, you can use

WeixinJSBridge.call ('closeWindow'); "

The call in HTML is demonstrated as follows:

Wechat JS

Tags: Interfaces browsers interfaces content articles values interests friends guys buddies bottom buttons more friends status users knowledge network industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB macOS OPPO Reno Linux NVidia