Skip to content
Discussion options

You must be logged in to vote

Hi @patiencerosestevens,

Web browsers impose some limits on what you can and can't do during the unload event that closing the browser initiates. One limitation seems to be the amount of data that can be transferred. If you'd like to make sure to save all the data from a participant who exits prematurely I suggest saving the data after every trial using the on_data_update event handler in jsPsych.init().

Docs here.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patiencerosestevens
Comment options

You must be logged in to vote
0 replies
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