Skip to content

Can you require people to resize their browser? #730

Discussion options

You must be logged in to vote

You can use the exclusion criteria in jsPsych.init() to require people to have a certain size browser window before proceeding. The method allows participants to resize their browser to meet the minimum size.

Example:

jsPsych.init({
  ...
  exclusions: {
    min_width: 800,
    min_height: 600
  }
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants