Android, webview user agent vs browser user agent

前端 未结 7 963
眼角桃花
眼角桃花 2020-12-03 03:14

I\'m building my website and I want to know whether the user is using Android\'s browser or an app with a webview.

is it possible ??

相关标签:
7条回答
  • 2020-12-03 03:46

    yes and you can optimize your website by adding these meta tags

    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <meta name="HandheldFriendly" content="True" />
    

    you can find more information here http://learnthemobileweb.com/2009/07/mobile-meta-tags/

    0 讨论(0)
提交回复
热议问题