Detector is a simple, PHP- and JavaScript-based browser- and feature-detection library that can adapt to new devices & browsers on its own without the need to pull from a central database of browser information.
Also available on GitHub: https://github.com/SteveBarnett/Detector.
Full documentation is available at github / dmolsen / Detector.
To Do
- Add some useful responsive image handling, in the style of picturefill.js. Based on families at first?
- Add functions for conditional loading of content via JS, depending on screen size.
- wp_enqueue_script for Modernizr
- Check Modernizr version, custom
- Add option to add own feature tests from admin area?
- Add option to add own families from admin area?
- Add shortcodes?
Screenshots
Categories