search

Home  >  Q&A  >  body text

javascript - web mobile browser Using js, can you not judge whether the current mobile phone has installed the app? If it is installed, open it. If it is not installed, download it?

The methods on the Internet are not working. I just jump to download and pull. Anyone who has done it has a solution. Please help! ! !

怪我咯怪我咯2773 days ago795

reply all(6)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:31:36

    I missed writing it herevar u = window.navigator.userAgent;That’s why I said u is undefined

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 13:31:36

    Yes, let’s move on. Thank you very much. It’s just the beginning. Haha. Are these things included in js? I’m not very familiar with the front desk at the backstage

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-16 13:31:36

    Reference ios universal link

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 13:31:36

    I have written related articles
    Open the app on the webpage
    As for judgment:
    The webpage cannot judge whether it is installed, but you can write a css animation. If it is transferred to the background, the css animation will not work, so you can judge whether it is opened. app

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-16 13:31:36

    This agreement is set by the front end of the APP. They write the methods, and then you call their methods and find them to set the agreement

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-16 13:31:36

    This needs to be configured on the mobile terminal

    This technology is called DeepLink

    reply
    0
  • Cancelreply