0

I wants a script that detect user browser if only when user browser is uc-mini & opera-mini .These type of browser doen't support transition .

So when detect this browser then disable the transition property and add display:none property.

Partha
  • 81
  • 10
  • 2
    Instead of using user-agent based detection, can't you simply use Modernizr.js to detect of CSS transitions are supported? UA detection is often unreliable. Feature detection, however, is. – Terry Jun 27 '17 at 21:06
  • No, this question is not a duplicate, since https://stackoverflow.com/questions/38089868/javascript-how-to-detect-if-the-user-is-using-uc-browser-mini doesn't explain how to detect Opera Mini, which is half of what the OP was asking. However, https://stackoverflow.com/questions/36653217/opera-mini-browser-detection-using-javascript does answer that part of the question. – Michael McGinnis Oct 21 '17 at 09:37

1 Answers1

0

you can either use the plugin checkit.js or this question has already been answered here

Shrugo
  • 137
  • 2
  • 10