PennController for IBEX › Forums › Support › access participants' browser info
- This topic has 6 replies, 3 voices, and was last updated 3 years, 4 months ago by Jeremy.
-
AuthorPosts
-
March 9, 2021 at 8:51 am #6702alionaParticipant
Dear Jeremy,
I was wondering whether there’s a possibility for me to see which browser participants used for my experiment. Apparently, there’s a problem of loading the resources (images) from Imgur and I wanted to see whether that can be browser specific as I know that e.g., on Safari the position of the images in my experiment gets all messed up.Thank you in advance,
AlionaMarch 9, 2021 at 11:54 am #6703JeremyKeymasterDear Aliona,
Each submission in the results file starts with these lines:
# Results on Friday February 26 2021 14:31:11 UTC # USER AGENT: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
As you can see, in this case, the submission came from a participant (me) who used Firefox. This is not 100% reliable, but there is no method that is 100% reliable when it comes to determining the browser’s identity
Jeremy
March 10, 2021 at 7:39 am #6709alionaParticipantDear Jeremy,
thanks for getting back to me!
I was hoping I could use those lines too, but in some cases several browsers are listed and I wasn’t sure how to interpret that.`USER AGENT: Mozilla/xx (xxxxxxxxx) xxxxxx (xxxxxxxx) Chrome/xxxxxxx Safari/xxxxxxx Edg/xxxxxxx
I guess this is then the case of the info not being 100% reliable.
Best,
AlionaMarch 10, 2021 at 4:08 pm #6712JeremyKeymasterDear Aliona,
The line you report most likely corresponds to Edge (although you should probably see an extra ‘e’ at “Edg/xxxxxxx”): http://useragentstring.com/index.php?id=19970
Jeremy
March 11, 2021 at 7:34 am #6713alionaParticipantOh, I see! Thanks a lot for the link!
Best,
AlionaMay 11, 2021 at 11:09 am #6952elena-vsgParticipantHi Jeremy,
I have a somewhat related question: my experiment does not render properly in Safari and I would like to exclude participants using Safari from my study. Is there a way to implement a browser test?
Thank you!
May 11, 2021 at 1:41 pm #6953JeremyKeymasterHi,
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
-
AuthorPosts
- You must be logged in to reply to this topic.