-
Bug
-
Resolution: Fixed
-
Minor
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_26_STABLE
-
MDL-36316-master -
Its generally regarded as bad practice to do user-agent sniffing to control features. Problems with ua-sniffing were aptly demonstrated in MDL-35469, where features stopped working in latest version of firefox due to bad ua-sniffing.
Most of the UA sniffing across moodle seems to be detecting really old browsers which are unsupported by Moodle, these could be eliminated.
For JS, we should be doing feature detection (see http://modernizr.com/ etc).
There will be some exceptions which we can't get rid of, but there is a lot of legacy rubbish we should be tidying up.
There are no Sub-Tasks for this issue.