search

Home  >  Q&A  >  body text

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中文网2777 days ago1143

reply all(3)I'll reply

  • 滿天的星座

    滿天的星座2017-05-19 10:33:34

    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.

    reply
    0
  • 阿神

    阿神2017-05-19 10:33:34

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-05-19 10:33:34

    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?

    reply
    0
  • Cancelreply