0

How do I obtain the current browser to pass into isSupported? I.e.:

caniuse.isSupported('border-radius', <my **actual** browser here>);

Library: https://github.com/Nyalab/caniuse-api

Diana
  • 789
  • 8
  • 34
  • Does this answer your question? [How to detect Safari, Chrome, IE, Firefox and Opera browser?](https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser) – Fiodorov Andrei Mar 02 '22 at 11:04
  • 1
    There was [no response](https://github.com/Nyalab/caniuse-api/issues/50) 5 years ago, so don't hold your breath waiting for someone to implement this. – Jeroen Mostert Mar 02 '22 at 11:07
  • @FiodorovAndrei Thank you but no, that does not answer the question. It is allowed to use any browser they like, as long as they support some specific functionality from caniuse. – Diana Mar 02 '22 at 15:32
  • @JeroenMostert Thanks, that's too bad. It would make the library more useful in a practical sense. – Diana Mar 02 '22 at 15:32

0 Answers0