5
I am developing a website, I want that when the user enters by phone the code change, can be with js
or with html
.
Example (Visitor using Phone):
<a href="fb://page/1703826839873386" target="_blank"></a>
Example (Using the PC):
<a href="https://www.facebook.com/" target="_blank"></a>
I wish someone would help me do that.
Just out of curiosity, what’s the point of this? That it opens the Facebook page inside the app on Facebook mobile?
– Leonardo Pessoa
yeah, I want when he’s on the phone open the app, and when he’s on the pc open the site
– João Pedro Almeida
Check out Progressive Web Apps https://developers.google.com/web/progressive-web-apps/
– nbkhope
I want something simpler... that doesn’t involve Pis or external libraries
– João Pedro Almeida