0

I want to know is there any way where I can detect whether site is opened on mobile browser or desktop browser ? so based on that contact us/phone number link will make call (for mobile browser) or link to contact us page(for desktop browser).

Rico
  • 58,485
  • 12
  • 111
  • 141
user44664
  • 1
  • 1
  • 1
    There's no meta tag, but checkout http://stackoverflow.com/questions/11381673/javascript-solution-to-detect-mobile-browser. As far as making a call after the fact, I doubt phones security models will allow that. – Allyl Isocyanate Mar 26 '14 at 22:34
  • You can detect the user agent (either in JS or on the server using, e.g., PHP) and display according code. – Elmar Peise Mar 26 '14 at 22:37
  • Thank you i got solution for it in PHP. – user44664 Apr 01 '14 at 01:03

0 Answers0