PennController for IBEX › Forums › Support › access participants' browser info › Reply To: access participants' browser info
May 11, 2021 at 1:41 pm
#6953
Keymaster
Hi,
Yes, you can do something like this for example:
Sequence("block", "intro", randomize("experiment"))
if (navigator.vendor.match(/apple/i))
newTrial( "block" ,
newText("<p>We're sorry, but this experiment is not compatible with your browser.</p>").print()
,
newText("<p>We encourage you to revisit this experiment \
using a desktop or laptop version of Chrome or Firefox if possible.</p>").print()
,
newText("<p>Thank you for your understanding.</p>").print()
,
newButton().wait()
)
Note that filtering participants after recruiting them is against some recruitment platforms’ policy, such as Prolific’s (last time I checked)
Jeremy