How to detect browser type and its version

后端 未结 5 1989
借酒劲吻你
借酒劲吻你 2021-02-03 21:54

how can i detect browser type and its version in Rails. I want to put check on the version of specific browser and if its not required browser version than ask user to upgrade i

5条回答
  •  灰色年华
    2021-02-03 22:33

    Try the browser gem. Very simple and can solve your purpose.

    You can find the gem Here very easy to use.

提交回复
热议问题