Can js simulate the action of long pressing in Wechat to identify the QR code and click?

1, use Wechat to scan to a page with a QR code image (generated by api).
2, when the page is loaded or the QR code is loaded completely, it automatically simulates the human length and presses the picture to make Wechat pop up the button to "identify the QR code in the picture".
3, confirm that the button "identify the QR code in the figure" appears, and the simulator clicks this button to jump to the address in the QR code.
4, at the beginning, it is necessary to judge whether Wechat opened the page or not, and the failure of midway identification should also be prompted.
can js do such a series of actions? No clue ~

Apr.09,2021

should not work.


Don't you want to jump to another page as soon as you enter the page? this operation is similar to a malicious jump, which can be realized on Android.


I also have the same problem. If it is solved, ah, thank you.

Menu