Collect Operating System and Browser Version Data

URL of experiment:

Description of the problem:
I have used provided code to collect browser info from participants, but am wondering if there is a way to detect browser version number and operating system version and add those as columns to my data file?


The user agent string provides some information, but there are two caveats: 1) modern browsers are actively making the user agent string less informative 2) you’ll need to parse it to get info about OS and browser.