Client Hints
Pre-release
Pre-release
With the v5 release, this library has adopted the concept of "Client Hints" and can act as a polyfill for official Client Hints, as well as add non-standard client hints for feature detection and other uses.
Other changes include:
- Browser feature detection from CanIUse data
- Improved pointer detection for hybrid devices
- Configurable feature detection via JSON and adding your own classes
- Configurable bot detection
- Configurable "minimum feature set" for devices
- Can provide mod_rewrite directives to automatically populate hints based on values from cookies or other hints.
This is a testing release, with additional documentation forthcoming.