’cause if you can’t detect it, you should sniff it!
Sniffer is a clientside browser/engine/os/device detection tool.
— Why u no feature-detect??/?////
I feature-detect like a boss. But when I can’t, I use dirty hacks to help me out.
- Some features are just undetectable. For instance,
overflow: scrollbehavior on mobile devices is one of them. Use da Sniffer!
- You have to sniff false-positives & false-negatives (some of my mobile browsers tests there).
- You want to support those two idiots coming to your site from Kindle? I do! Make ‘em happy with contrast colors and disabled animations.
Checkout docs and usage examples on GitHub