Redirect mobile devices to alternate version of my site

后端 未结 10 1317
滥情空心
滥情空心 2020-12-02 15:08

We\'ve got an alternate version of out website ready for mobile devices. The content we serve is different and it works well.

What is the best way to detect which v

10条回答
  •  猫巷女王i
    2020-12-02 15:22

    I don't think there is a good/elegant way to detect if user has his javascript activated.

    IMO, the best is to list the user agent : here is a User-Agent list, which seems quite complete (in French, sadly).

提交回复
热议问题