javascript - After successfully generating a QR code using qrcode, a blank page opens when scanning the QR code with a mobile phone. How to implement the transfer in the picture below? Prompts the user to open the browser download in the upper right corner
PHP中文网
PHP中文网 2017-05-19 10:31:34
0
3
1039

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
滿天的星座

What is the reason for the blank page? Blocked by WeChat? Can the url of qrcode be entered?

Then make a judgment directly on the jumped page. If it is opened on WeChat, a picture will be displayed for customers to open with a browser.

If not, just follow the normal process.

阿神

Just determine the UA, such as https://tx.163.com/, click Android to download

It will jump to https://adl.netease.com/d/g/t... Such a webpage
Just look at the source code of this url view-source:https://adl.netease.com/d/g/tx/c/ptfab?type=android

洪涛

It can be achieved. Now there is a new question, that is, if I have many mobile games, can the page that determines ua be made dynamic? Or should each game have a judgment page like this?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!