Skip to content

Exclude Participants Based on Browser Features

Changed in 7.1

Online subjects will use many different kinds of browsers. Depending on the experiment, it may be important to specify a minimum feature set of the browser.

As of v7.1 of jsPsych, the recommended way to do this is using the browser-check plugin. This plugin can record many features of the subject's browser and exclude subjects who do not meet a defined set of inclusion criteria. Please see the browser-check plugin documentation for more details.

The prior approach of using the exclusions parameter in initJsPsych() is deprecated and will be removed in v8.0. You can find the documentation for it in the 7.0 docs.