Collect Operating System and Browser Version Data

URL of experiment: https://pavlovia.org/emmal/exp2001_1_exponential_growth

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?

Thanks!

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.