JavaScript is required to report `navigator.userAgent`.