Follows-up
2b1da77.
Also add "UC Mini" to the list of documented Grade C browsers,
and leave a note about regex combinations. (Follows-up
5d166eb).
Change-Id: I1b5307aec7fd1734d8a79a2256e061fceb20fa35
* - Nokia's Ovi Browser
* - MeeGo's browser
* - Google Glass
* - Nokia's Ovi Browser
* - MeeGo's browser
* - Google Glass
+ * - UC Mini (speed mode on)
*
* Other browsers that pass the check are considered Grade X.
*
*
* Other browsers that pass the check are considered Grade X.
*
// Hardcoded exceptions for browsers that pass the requirement but we don't want to
// support in the modern run-time.
// Hardcoded exceptions for browsers that pass the requirement but we don't want to
// support in the modern run-time.
+ // Note: Please extend the regex instead of adding new ones
- ua.match( /webOS\/1\.[0-4]|SymbianOS|Series60|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass/ ) ||
- ua.match( /PlayStation/i ) ||
- // UC Mini (speed mode on)
- ua.match( /^Mozilla\/5\.0 .+ Gecko\/$/ )
+ ua.match( /webOS\/1\.[0-4]|SymbianOS|Series60|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass|^Mozilla\/5\.0 .+ Gecko\/$/ ) ||
+ ua.match( /PlayStation/i )