From 8e5af0e35642cb0ff54188bd0c0dfe7173436503 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 2 Oct 2020 13:56:29 -0700 Subject: [PATCH 01/10] add autofocus parameter and example --- docs/plugins/jspsych-survey-html-form.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/plugins/jspsych-survey-html-form.md b/docs/plugins/jspsych-survey-html-form.md index 60785f8a..f1cb280e 100644 --- a/docs/plugins/jspsych-survey-html-form.md +++ b/docs/plugins/jspsych-survey-html-form.md @@ -12,6 +12,7 @@ html | string | *undefined* | HTML formatted string containing all the input ele preamble | string | empty string | HTML formatted string to display at the top of the page above all the questions. button_label | string | 'Continue' | The text that appears on the button to finish the trial. dataAsArray | boolean | false | Retrieve the data as an array e.g. [{name: "INPUT_NAME", value: "INPUT_VALUE"}, ...] instead of an object e.g. {INPUT_NAME: INPUT_VALUE, ...}. This might be useful if you omit naming your inputs. +autofocus | string | empty string | The HTML element ID of a form field to autofocus on. The focused element is the element that will receive keyboard events. For elements like `` or ``, autofocus means that the cursor will appear in the text input area when the trial loads. ## Data Generated @@ -33,3 +34,16 @@ var form_trial = { html: '

I am feeling , , and .

' }; ``` + +### Example using the autofocus parameter + +In this example, the browswer will focus on the element with the ID `test-resp-box` when the trial loads. For `` elements, this means that the cursor will appear inside the text box. + +```javascript +var autofocus_trial = { + type: 'survey-html-form', + preamble: '

What is your favorite bird?

', + html: '

My favorite bird is

', + autofocus: 'test-resp-box' +}; +``` \ No newline at end of file From f2b49939da6e6bed4cfacbfb6fe75f0dbcdf8cf7 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 2 Oct 2020 14:03:13 -0700 Subject: [PATCH 02/10] add autocomplete parameter --- docs/plugins/jspsych-survey-html-form.md | 1 + docs/plugins/jspsych-survey-likert.md | 1 + docs/plugins/jspsych-survey-multi-choice.md | 1 + docs/plugins/jspsych-survey-multi-select.md | 1 + docs/plugins/jspsych-survey-text.md | 1 + 5 files changed, 5 insertions(+) diff --git a/docs/plugins/jspsych-survey-html-form.md b/docs/plugins/jspsych-survey-html-form.md index f1cb280e..1ba0ff27 100644 --- a/docs/plugins/jspsych-survey-html-form.md +++ b/docs/plugins/jspsych-survey-html-form.md @@ -13,6 +13,7 @@ preamble | string | empty string | HTML formatted string to display at the top o button_label | string | 'Continue' | The text that appears on the button to finish the trial. dataAsArray | boolean | false | Retrieve the data as an array e.g. [{name: "INPUT_NAME", value: "INPUT_VALUE"}, ...] instead of an object e.g. {INPUT_NAME: INPUT_VALUE, ...}. This might be useful if you omit naming your inputs. autofocus | string | empty string | The HTML element ID of a form field to autofocus on. The focused element is the element that will receive keyboard events. For elements like `` or ``, autofocus means that the cursor will appear in the text input area when the trial loads. +autocomplete | boolean | false | This determines whether or not all of the input elements on the page should allow autocomplete. Setting this to true will enable autocomplete or auto-fill for the form. ## Data Generated diff --git a/docs/plugins/jspsych-survey-likert.md b/docs/plugins/jspsych-survey-likert.md index 58dca780..bb7e2c6d 100644 --- a/docs/plugins/jspsych-survey-likert.md +++ b/docs/plugins/jspsych-survey-likert.md @@ -13,6 +13,7 @@ randomize_question_order | boolean | `false` | If true, the display order of `qu preamble | string | empty string | HTML formatted string to display at the top of the page above all the questions. scale_width | numeric | null | The width of the likert scale in pixels. If left `null`, then the width of the scale will be equal to the width of the widest content on the page. button_label | string | 'Continue' | Label of the button. +autocomplete | boolean | false | This determines whether or not all of the input elements on the page should allow autocomplete. Setting this to true will enable autocomplete or auto-fill for the form. ## Data Generated diff --git a/docs/plugins/jspsych-survey-multi-choice.md b/docs/plugins/jspsych-survey-multi-choice.md index 39afe39a..b1b90884 100644 --- a/docs/plugins/jspsych-survey-multi-choice.md +++ b/docs/plugins/jspsych-survey-multi-choice.md @@ -12,6 +12,7 @@ questions | array | *undefined* | An array of objects, each object represents a randomize_question_order | boolean | `false` | If true, the display order of `questions` is randomly determined at the start of the trial. In the data object, `Q0` will still refer to the first question in the array, regardless of where it was presented visually. preamble | string | empty string | HTML formatted string to display at the top of the page above all the questions. button_label | string | 'Continue' | Label of the button. +autocomplete | boolean | false | This determines whether or not all of the input elements on the page should allow autocomplete. Setting this to true will enable autocomplete or auto-fill for the form. ## Data Generated diff --git a/docs/plugins/jspsych-survey-multi-select.md b/docs/plugins/jspsych-survey-multi-select.md index f9e17b2e..6df87e5b 100644 --- a/docs/plugins/jspsych-survey-multi-select.md +++ b/docs/plugins/jspsych-survey-multi-select.md @@ -13,6 +13,7 @@ randomize_question_order | boolean | `false` | If true, the display order of `qu preamble | string | empty string | HTML formatted string to display at the top of the page above all the questions. button_label | string | 'Continue' | Label of the button. required_message | string | 'You must choose at least one response for this question' | Message to display if required response is not given. +autocomplete | boolean | false | This determines whether or not all of the input elements on the page should allow autocomplete. Setting this to true will enable autocomplete or auto-fill for the form. ## Data Generated diff --git a/docs/plugins/jspsych-survey-text.md b/docs/plugins/jspsych-survey-text.md index 05d947d7..ca23412f 100644 --- a/docs/plugins/jspsych-survey-text.md +++ b/docs/plugins/jspsych-survey-text.md @@ -12,6 +12,7 @@ questions | array | *undefined* | An array of objects, each object represents a randomize_question_order | boolean | `false` | If true, the display order of `questions` is randomly determined at the start of the trial. In the data object, `Q0` will still refer to the first question in the array, regardless of where it was presented visually. preamble | string | empty string | HTML formatted string to display at the top of the page above all the questions. button_label | string | 'Continue' | The text that appears on the button to finish the trial. +autocomplete | boolean | false | This determines whether or not all of the input elements on the page should allow autocomplete. Setting this to true will enable autocomplete or auto-fill for the form. ## Data Generated From 09a8a4578eca85250709f8d4520b0eab2ddaa6a7 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 2 Oct 2020 14:08:52 -0700 Subject: [PATCH 03/10] sync with docs changed via PR merged into master --- docs/plugins/jspsych-instructions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/plugins/jspsych-instructions.md b/docs/plugins/jspsych-instructions.md index ad6db13c..e97d6323 100644 --- a/docs/plugins/jspsych-instructions.md +++ b/docs/plugins/jspsych-instructions.md @@ -16,7 +16,8 @@ allow_keys | boolean | true | If true, the subject can use keyboard keys to navi show_clickable_nav | boolean | false | If true, then a `Previous` and `Next` button will be displayed beneath the instructions. Subjects can click the buttons to navigate. button_label_previous | string | 'Previous' | The text that appears on the button to go backwards. button_label_next | string | 'Next' | The text that appears on the button to go forwards. - +show_page_number | boolean | false | If true, and clickable navigation is enabled, then Page x/y will be shown between the nav buttons. +page_label | string | 'Page' | The text that appears before x/y pages displayed when show_page_number is true. ## Data Generated From dd543cff96d955ca122e9cd0dcafd368340fe7b0 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 2 Oct 2020 14:13:25 -0700 Subject: [PATCH 04/10] fix typo --- docs/plugins/jspsych-survey-html-form.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/jspsych-survey-html-form.md b/docs/plugins/jspsych-survey-html-form.md index 1ba0ff27..e0d293f1 100644 --- a/docs/plugins/jspsych-survey-html-form.md +++ b/docs/plugins/jspsych-survey-html-form.md @@ -38,7 +38,7 @@ var form_trial = { ### Example using the autofocus parameter -In this example, the browswer will focus on the element with the ID `test-resp-box` when the trial loads. For `` elements, this means that the cursor will appear inside the text box. +In this example, the browser will focus on the element with the ID `test-resp-box` when the trial loads. For `` elements, this means that the cursor will appear inside the text box. ```javascript var autofocus_trial = { From 72a0c539e5d301f945b8955c0941ad17541af1b2 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 2 Oct 2020 14:27:39 -0700 Subject: [PATCH 05/10] add slider start value to data generated --- docs/plugins/jspsych-audio-slider-response.md | 1 + docs/plugins/jspsych-html-slider-response.md | 1 + docs/plugins/jspsych-image-slider-response.md | 1 + docs/plugins/jspsych-video-slider-response.md | 1 + 4 files changed, 4 insertions(+) diff --git a/docs/plugins/jspsych-audio-slider-response.md b/docs/plugins/jspsych-audio-slider-response.md index 76a9a1ce..6932039b 100644 --- a/docs/plugins/jspsych-audio-slider-response.md +++ b/docs/plugins/jspsych-audio-slider-response.md @@ -36,6 +36,7 @@ Name | Type | Value response | numeric | The numeric value of the slider. rt | numeric | The time in milliseconds for the subject to make a response. The time is measured from when the stimulus first appears on the screen until the subject's response. stimulus | string | The path of the audio file that was played. +start | numeric | The numeric starting value of the slider. ## Examples diff --git a/docs/plugins/jspsych-html-slider-response.md b/docs/plugins/jspsych-html-slider-response.md index 91afc4e2..745b8740 100644 --- a/docs/plugins/jspsych-html-slider-response.md +++ b/docs/plugins/jspsych-html-slider-response.md @@ -31,6 +31,7 @@ Name | Type | Value response | numeric | The numeric value of the slider. rt | numeric | The time in milliseconds for the subject to make a response. The time is measured from when the stimulus first appears on the screen until the subject's response. stimulus | string | The HTML content that was displayed on the screen. +start | numeric | The numeric starting value of the slider. ## Examples diff --git a/docs/plugins/jspsych-image-slider-response.md b/docs/plugins/jspsych-image-slider-response.md index 108a8902..3253484d 100644 --- a/docs/plugins/jspsych-image-slider-response.md +++ b/docs/plugins/jspsych-image-slider-response.md @@ -34,6 +34,7 @@ Name | Type | Value response | numeric | The numeric value of the slider. rt | numeric | The time in milliseconds for the subject to make a response. The time is measured from when the stimulus first appears on the screen until the subject's response. stimulus | string | The path of the image that was displayed. +start | numeric | The numeric starting value of the slider. ## Examples diff --git a/docs/plugins/jspsych-video-slider-response.md b/docs/plugins/jspsych-video-slider-response.md index fb7ffe73..780f3023 100644 --- a/docs/plugins/jspsych-video-slider-response.md +++ b/docs/plugins/jspsych-video-slider-response.md @@ -38,6 +38,7 @@ Name | Type | Value response | numeric | The numeric value of the slider. rt | numeric | The response time in milliseconds for the subject to make a response. The time is measured from when the stimulus first appears on the screen until the subject's response. stimulus | string | JSON encoding of the `sources` array. +start | numeric | The numeric starting value of the slider. ## Example From 9f3fb74754b7efbd338c85c21c0e9f20392f3be9 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 30 Oct 2020 16:54:01 -0700 Subject: [PATCH 06/10] initial commit --- docs/overview/browser-device-support.md | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/overview/browser-device-support.md diff --git a/docs/overview/browser-device-support.md b/docs/overview/browser-device-support.md new file mode 100644 index 00000000..a0283245 --- /dev/null +++ b/docs/overview/browser-device-support.md @@ -0,0 +1,35 @@ +# Browser and Device Support + +## Desktop and Laptop Browsers + +**Supported** + +jsPsych supports recent versions of the four most commonly-used web browsers: +* Chrome +* Firefox +* Safari +* Edge + +This means that jsPsych _should_ work on these browsers. If something doesn't work as you expect on one of the browsers above, it might be a bug that should be fixed. You can search for and report bugs on the [jsPsych GitHub Issues page](https://github.com/jspsych/jsPsych/issues). We're very grateful for anyone who takes the time to report bugs - it helps improve the library for everyone! + +**Unsupported** + +There are many other web browsers that are available, but that are not commonly used. The most well-known of these are Internet Explorer and Opera. jsPsych is not tested on these and other browsers not listed in the Supported section above. jsPsych experiments _might_ work in these browsers, but they _might not_. If you want to give participants the option to use unsupported browsers, then we recommend carefully testing your experiment to make sure that everything works as expected. Otherwise, we suggest asking your participants to only use a supported browser, or incorporating browser, device, and/or feature checks at the start of your experiment. jsPsych offers built-in methods for [exclusion based on minimum browser size and WebAudio API compatibility](overview/exclude-browser.md). You can incorporate other browser/device/feature checks into your experiment by adding custom JavaScript code. + +## Mobile Devices + +In general, jsPsych experiments can be run on mobile devices (smartphones and tablets). However, certain plugins will not work on mobile. For instance, any plugin that requires a keyboard response without a text input box, such as the *-keyboard-response plugins, will not work. Even plugins that do work on mobile might work differently than they do on desktop and laptop computers. For instance, on mobile devices, a text input box will cause an on-screen keyboard to pop up, which affects the visible content on the screen. + +If you plan to run an experiment that allows people to use mobile devices, we recommend doing some extra testing to make sure that everything works as expected. In particular, you may want to check that: +* Font sizes are readable on smaller screens +* Stimuli sizes are large enough and appropriate for the task +expected +* Page is laid out as intended (e.g. elements are centered and do not overlap) +* Response options are touchscreen-friendly (e.g. buttons rather than key presses) +* Response options (e.g. buttons, text boxes, radio buttons) are large enough and far enough apart to be easily selected with a finger tap + +It's possible to use your browser's developer tools to emulate mobile devices ([this page shows how to do it in Chrome](https://developers.google.com/web/tools/chrome-devtools/device-mode)), which is useful for getting a sense of how your experiment will look on mobile devices. Just be aware that there are limitations to emulator tools, and there are some aspects of mobile devices/browsers that a desktop browser will not be able to simulate. + +## Mobile Browsers + +The browser options for mobile phones and tablets are slightly different than those for desktop and laptop computers. In addition to mobile versions of Chrome, Firefox, Safari, and Edge, other notable mobile browsers include Opera Mobile, Samsung Internet, UC Browser, and Dolphin. Because of the greater diversity of mobile browsers and volatility in their usage statistics, jsPsych does not officially support any particular set of mobile browsers. Nonetheless, if you run into a problem using jsPsych in mobile browsers, please report it on the [jsPsych GitHub Issues page](https://github.com/jspsych/jsPsych/issues)! \ No newline at end of file From abc587184b8e791fa226eb478a9e286d2a369e58 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Fri, 30 Oct 2020 17:00:28 -0700 Subject: [PATCH 07/10] fix typo --- docs/overview/browser-device-support.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/overview/browser-device-support.md b/docs/overview/browser-device-support.md index a0283245..7ea3229a 100644 --- a/docs/overview/browser-device-support.md +++ b/docs/overview/browser-device-support.md @@ -23,7 +23,6 @@ In general, jsPsych experiments can be run on mobile devices (smartphones and ta If you plan to run an experiment that allows people to use mobile devices, we recommend doing some extra testing to make sure that everything works as expected. In particular, you may want to check that: * Font sizes are readable on smaller screens * Stimuli sizes are large enough and appropriate for the task -expected * Page is laid out as intended (e.g. elements are centered and do not overlap) * Response options are touchscreen-friendly (e.g. buttons rather than key presses) * Response options (e.g. buttons, text boxes, radio buttons) are large enough and far enough apart to be easily selected with a finger tap From 7be11b72f41c37d0f9a6dbddd1f906b9b9f99d4a Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Sat, 31 Oct 2020 12:46:49 -0700 Subject: [PATCH 08/10] first draft --- docs/overview/collecting-data.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/overview/collecting-data.md diff --git a/docs/overview/collecting-data.md b/docs/overview/collecting-data.md new file mode 100644 index 00000000..e96ac627 --- /dev/null +++ b/docs/overview/collecting-data.md @@ -0,0 +1,25 @@ +# Collecting Data from Online Participants + +## Hosting the Experiment and Saving the Data + +jsPsych is a front-end JavaScript library that runs entirely on the participant's computer. To run a jsPsych experiment over the internet, the files need to be hosted on a public web server so that participants can access the experiment using a web link. Also, all of the data that jsPsych collects is stored on the participant's computer, in the browser's memory. This means that the data needs to be sent from the participant's browser back to the web server and stored in a database. + +To be maximally flexible, jsPsych doesn't handle the web server component. This makes jsPsych compatible with a wide range of hosting services and tools, allowing researchers to choose the web server option that best suit their needs. Some options for hosting jsPsych experiments include: + +* [Cognition.run](https://www.cognition.run/) - A new free service designed specifically for hosting jsPsych experiments, with an easy-to-use interface. Great if you're just starting off! +* [JATOS](https://www.jatos.org/Whats-JATOS.html) - A free program that runs on your own server and provides a GUI for setting up experiments and accessing the data. Offers lots of features for creating more complex experiments and managing multiple researchers. +* [Pavlovia](https://pavlovia.org/) - A paid hosting service for web-based experiments, run by the PsychoPy team. Experiment files are managed on a GitLab repository, where they can then be launched on the Pavlovia server. +* [PsiTurk](https://psiturk.org/) - Python-based program to help you host your experiment on your own computer and collect data from MTurk (see Recruiting Participants below). Relatively easy for a DIY option. +* [Pushkin](https://languagelearninglab.gitbook.io/pushkin/) - A set of tools to help you set up your own virtual laboratory for massive online experiments. This option differs from the others in that it helps you set up a more standard website with a home page with different experiments, as well as other pages for information about your lab and research findings. +* Full DIY - You can setup your own web server and database and handle the communication yourself. Traditional web server 'stacks' include [LAMP](https://www.digitalocean.com/community/tutorial_collections/how-to-install-lamp)/[LEMP](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04) (Linux operating system, Apache or Nginx server application, MySQL database, and PHP programming language). Other common web server frameworks include [Flask](https://flask.palletsprojects.com/) (Python) and [Node.js](https://nodejs.org/) (JavaScript). + +## Recruiting Participants + +Once your experiment is hosted on a web server, you could recruit participants in the same way that you would for lab-based studies. For instance, if your institution uses SONA, you can advertise your web-based study link on SONA. SONA allows you to automactically embed a unique ID in online study URLs, which you can then save in your data using [jsPsych's URL query parameters function](core_library/jspsych-data/#jspsychdatageturlvariable). SONA will also generate a completion URL that you can redirect participants to at the end of the study, and this will mark them as having completed the study in SONA. + +To take full advanage of hosting an experiment online, many researchers advertise their experiments more widely. Social media and other media outlets provide one option for reaching a large number of potential participants. There are also some commercial platforms that you can use to advertise your study and pay anonymous online participants. These recruitment platforms charge a fee for use. The advantages of these platforms are that they handle the participant payments and allow you to specify pre-screening criteria. The most commonly used recruitment platforms in online behavioral research are: + +* [Prolific](https://www.prolific.co/): An online labor market designed specifically for web-based research. +* [Amazon Mechanical Turk (MTurk)](https://www.mturk.com/): An online labor market designed for advertising paid 'human intelligence tasks'. This service was designed for use by commercial businesses but has been used by behavioral researchers for many years. + +Like SONA, Prolific and MTurk use URL query parameters to get participant information, and redirection to specific URLs to mark participants as having finished the study. jsPsych includes [convenience functions for interacting with MTurk participants](core_library/jspsych-turk/). Information about integrating with Prolific can be found in the researcher support section of their website. \ No newline at end of file From 7861b4471d6bedaed5da690636a6f96391823e4f Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Mon, 2 Nov 2020 22:44:09 -0500 Subject: [PATCH 09/10] Minor changes --- docs/overview/collecting-data.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/overview/collecting-data.md b/docs/overview/collecting-data.md index e96ac627..665cc47a 100644 --- a/docs/overview/collecting-data.md +++ b/docs/overview/collecting-data.md @@ -2,15 +2,15 @@ ## Hosting the Experiment and Saving the Data -jsPsych is a front-end JavaScript library that runs entirely on the participant's computer. To run a jsPsych experiment over the internet, the files need to be hosted on a public web server so that participants can access the experiment using a web link. Also, all of the data that jsPsych collects is stored on the participant's computer, in the browser's memory. This means that the data needs to be sent from the participant's browser back to the web server and stored in a database. +jsPsych is a front-end JavaScript library that runs entirely on the participant's computer. To run a jsPsych experiment over the internet, the files need to be hosted on a public web server so that participants can access the experiment using a web browser. When the participant completes the experiment in the browser, all of the data that jsPsych collects is stored on the participant's computer in the browser's memory. To get access to this data, it needs to be sent from the participant's browser back to the web server and stored in a database or a file. -To be maximally flexible, jsPsych doesn't handle the web server component. This makes jsPsych compatible with a wide range of hosting services and tools, allowing researchers to choose the web server option that best suit their needs. Some options for hosting jsPsych experiments include: +To be maximally flexible, jsPsych doesn't provide a single built-in solution for the web server component of your experiment. This makes jsPsych compatible with a wide range of hosting services and tools, allowing researchers to choose the web server option that best suit their needs. Some options for hosting jsPsych experiments include: -* [Cognition.run](https://www.cognition.run/) - A new free service designed specifically for hosting jsPsych experiments, with an easy-to-use interface. Great if you're just starting off! +* [Cognition.run](https://www.cognition.run/) - A free service designed specifically for hosting jsPsych experiments, with an easy-to-use interface. * [JATOS](https://www.jatos.org/Whats-JATOS.html) - A free program that runs on your own server and provides a GUI for setting up experiments and accessing the data. Offers lots of features for creating more complex experiments and managing multiple researchers. -* [Pavlovia](https://pavlovia.org/) - A paid hosting service for web-based experiments, run by the PsychoPy team. Experiment files are managed on a GitLab repository, where they can then be launched on the Pavlovia server. +* [Pavlovia](https://pavlovia.org/) - A paid hosting service for web-based experiments, run by the PsychoPy team. Experiment files are managed on a GitLab repository. Participants will access the experiment through a link to Pavlovia. * [PsiTurk](https://psiturk.org/) - Python-based program to help you host your experiment on your own computer and collect data from MTurk (see Recruiting Participants below). Relatively easy for a DIY option. -* [Pushkin](https://languagelearninglab.gitbook.io/pushkin/) - A set of tools to help you set up your own virtual laboratory for massive online experiments. This option differs from the others in that it helps you set up a more standard website with a home page with different experiments, as well as other pages for information about your lab and research findings. +* [Pushkin](https://languagelearninglab.gitbook.io/pushkin/) - A set of tools to help you set up your own virtual laboratory for online experiments. This option differs from the others in that it helps you set up a complete website that may contain many different experiments, information about the laboratory, participant logins, and other features that are targeted at hosting large-scale data collection efforts. * Full DIY - You can setup your own web server and database and handle the communication yourself. Traditional web server 'stacks' include [LAMP](https://www.digitalocean.com/community/tutorial_collections/how-to-install-lamp)/[LEMP](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04) (Linux operating system, Apache or Nginx server application, MySQL database, and PHP programming language). Other common web server frameworks include [Flask](https://flask.palletsprojects.com/) (Python) and [Node.js](https://nodejs.org/) (JavaScript). ## Recruiting Participants @@ -22,4 +22,4 @@ To take full advanage of hosting an experiment online, many researchers advertis * [Prolific](https://www.prolific.co/): An online labor market designed specifically for web-based research. * [Amazon Mechanical Turk (MTurk)](https://www.mturk.com/): An online labor market designed for advertising paid 'human intelligence tasks'. This service was designed for use by commercial businesses but has been used by behavioral researchers for many years. -Like SONA, Prolific and MTurk use URL query parameters to get participant information, and redirection to specific URLs to mark participants as having finished the study. jsPsych includes [convenience functions for interacting with MTurk participants](core_library/jspsych-turk/). Information about integrating with Prolific can be found in the researcher support section of their website. \ No newline at end of file +Like SONA, Prolific and MTurk use URL query parameters to get participant information, and redirection to specific URLs to mark participants as having finished the study. jsPsych includes [convenience functions for interacting with MTurk participants](core_library/jspsych-turk/). Information about integrating with Prolific can be found in the researcher support section of their website. From 3fc8447fbae6bba8e0b825142c26b0a7bf822244 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Mon, 2 Nov 2020 22:49:20 -0500 Subject: [PATCH 10/10] minor change at the end --- docs/overview/browser-device-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/overview/browser-device-support.md b/docs/overview/browser-device-support.md index 7ea3229a..05ec995b 100644 --- a/docs/overview/browser-device-support.md +++ b/docs/overview/browser-device-support.md @@ -31,4 +31,4 @@ It's possible to use your browser's developer tools to emulate mobile devices ([ ## Mobile Browsers -The browser options for mobile phones and tablets are slightly different than those for desktop and laptop computers. In addition to mobile versions of Chrome, Firefox, Safari, and Edge, other notable mobile browsers include Opera Mobile, Samsung Internet, UC Browser, and Dolphin. Because of the greater diversity of mobile browsers and volatility in their usage statistics, jsPsych does not officially support any particular set of mobile browsers. Nonetheless, if you run into a problem using jsPsych in mobile browsers, please report it on the [jsPsych GitHub Issues page](https://github.com/jspsych/jsPsych/issues)! \ No newline at end of file +The browser options for mobile phones and tablets are slightly different than those for desktop and laptop computers. In addition to mobile versions of Chrome, Firefox, Safari, and Edge, other notable mobile browsers include Opera Mobile, Samsung Internet, UC Browser, and Dolphin. Because of the greater diversity of mobile browsers and volatility in their usage statistics, jsPsych does not officially support any particular set of mobile browsers. However, we do anticipate that most experiments should work in most mobile browsers, especially the mobile versions of browsers that we do support in Desktop mode. If you run into a problem using jsPsych in mobile browsers, please report it on the [jsPsych GitHub Issues page](https://github.com/jspsych/jsPsych/issues)! We do our best to fix browser incompatibilities that are not specific to a single experiment.