- Joined
- Jan 12, 2016
- Messages
- 9,018
- Reaction score
- 33,771
- Points
- 1,213
- Age
- 35
- Gender
- Female
I was watching pulp fiction once and they started some of the drug use/needle stuff and I was like nah and turned it off ?
These A9s would be a good example to demonstrate a similar script that allows for more custom tailoring of answers and can easily be modified to work with other types of HITs. The script below will pre-select the exact same answers as the script you posted but does it in a different way...For anyone trying to suffer through those A9s today , this will mark "well enough" for the top answer and "not relevant" for the rest. If you find other answers are (or become) more common, let me know, and I'll post a different one. i'll be around most of the day today.
Code:// ==UserScript== // @name A9 tag // @namespace http://tampermonkey.net/ // @version 1.0 // @description well enough not relevant // @author WillowWolf // @match https://www.mturkcontent.com/dynamic/* // @grant GM_log // @require http://code.jquery.com/jquery-3.1.1.min.js // ==/UserScript== $('input[value="WellEnough"]').click(); $('input[value="NotRelevant"]').click();
// ==UserScript==
// @name A9 Tag Relevance $0.02
// @version 1.0
// @author Probably SarahAshlee90
// @include /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant none
// ==/UserScript==
const radios_and_checkboxes = document.querySelectorAll('[type="checkbox"],[type="radio"]');
function preclick (elements_to_click, ...numbers) {
const radios_and_checkboxes_to_preclick = [];
Array.prototype.slice.call(arguments).forEach(el => radios_and_checkboxes_to_preclick.push(el));
radios_and_checkboxes_to_preclick.forEach(element => radios_and_checkboxes[element].click());
console.log(`There are a total of ${radios_and_checkboxes.length} checkboxes/radio's on this page. The requested preclicks are numbers ${radios_and_checkboxes_to_preclick}`);
}
preclick(1,5,8,11,14,17,20,23,26,29,32);
recreation.....recreate.... is that not a word? lolrecreate like... what do you mean? Do you mean like make babies?
people want to recreate so bad today. calm down.
You're making shit more complicated than it needs to be. It's a 2c batch. Not sure why anyone would want to put this much effort into this. Not everything has to be over-the-top extravagant.These A9s would be a good example to demonstrate a similar script that allows for more custom tailoring of answers and can easily be modified to work with other types of HITs. The script below will pre-select the exact same answers as the script you posted but does it in a different way...
Ultimately, you only need to edit the last line of the script below to use it with other types of HITs
Let's take the current batch of A9s as an example... Each radio button within the HIT is essentially numbered. Typically, the upper-left most radio button is numbered '0' and the numbers increase as you go across the rows and then down. Some HITs, such as Perch, use columns so the radios are increasing in number from top-to-bottom in each column instead of left-to-right in each row. There's sometime a little trial-and-error needed to figure out the numbering scheme of the radios/check-boxes in other types of HITs, but most are fairly simple.Code:// ==UserScript== // @name A9 Tag Relevance $0.02 // @version 1.0 // @author Probably SarahAshlee90 // @include /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/ // @grant none // ==/UserScript== const radios_and_checkboxes = document.querySelectorAll('[type="checkbox"],[type="radio"]'); function preclick (elements_to_click, ...numbers) { const radios_and_checkboxes_to_preclick = []; Array.prototype.slice.call(arguments).forEach(el => radios_and_checkboxes_to_preclick.push(el)); radios_and_checkboxes_to_preclick.forEach(element => radios_and_checkboxes[element].click()); console.log(`There are a total of ${radios_and_checkboxes.length} checkboxes/radio's on this page. The requested preclicks are numbers ${radios_and_checkboxes_to_preclick}`); } preclick(1,5,8,11,14,17,20,23,26,29,32,35);
Below is a picture of the A9s to show you what I mean, and remember that the last line of the script is preclick(1,5,8,11,14,17,20,23,26,29,32,35);
So you'll see that within the preclick(1,5,8,11,14,17,20,23,26,29,32,35) line the 1 corresponds with Well enough, the 5 corresponds with Not Relevant on the next row, and then the 8 with Not Relevant on the next row, etc...
Therefore, if I wanted the first row to always be Very Well then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32,35); to preclick(0,5,8,11,14,17,20,23,26,29,32,35);.
Along those same lines if I wanted to do something like change only the next three lines from Not Relevant to Very Relevant then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32,35); to preclick(1,3,6,9,14,17,20,23,26,29,32,35)
Finally, this works on really simple things like Furmstons as well. For a simple task like the always selecting Yes in each HIT...
...the last line of the script would simply be preclick(0);
It's really helpful for so many other things like A9s, Alexandrias, Perch, etc... with lots of check boxes or radio buttons, especially if it's a batch and at least some of the answers are the same for each HIT. This script even allows you to leave some questions/categories unanswered in case the answer varies a lot (like Perch) or if you want to, you can avoid selecting every instance of the same answer within a HIT, so instead of pre-selecting all 'no' or all 'yes' it is possible to mix it up.
Ultimately, I have to give credit to @SarahAshlee90 for first posting a script similar to this late last year, and I took it and ran with it. I use and/or modify this radio button pre-click script every day.
https://www.mturkcrowd.com/threads/12-02-scratchy-sunday.3981/#post-1381869
LOL It's definitely waaaaaay overkill for A9s, but I figured out how this more complicated script works by practicing with A9s, and then found that it's super useful for much longer format HITs like Perch, and only really needs one line to be modified for it to work on all sorts of HITs.You're making shit more complicated than it needs to be. It's a 2c batch. Not sure why anyone would want to put this much effort into this. Not everything has to be over-the-top extravagant.
Definitely props to @SarahAshlee90. I did the same as you and ran with that script.These A9s would be a good example to demonstrate a similar script that allows for more custom tailoring of answers and can easily be modified to work with other types of HITs. The script below will pre-select the exact same answers as the script you posted but does it in a different way...
Ultimately, you only need to edit the last line of the script below to use it with other types of HITs
Let's take the current batch of A9s as an example... Each radio button within the HIT is essentially numbered. Typically, the upper-left most radio button is numbered '0' and the numbers increase as you go across the rows and then down. Some HITs, such as Perch, use columns so the radios are increasing in number from top-to-bottom in each column instead of left-to-right in each row. There's sometime a little trial-and-error needed to figure out the numbering scheme of the radios/check-boxes in other types of HITs, but most are fairly simple.Code:// ==UserScript== // @name A9 Tag Relevance $0.02 // @version 1.0 // @author Probably SarahAshlee90 // @include /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/ // @grant none // ==/UserScript== const radios_and_checkboxes = document.querySelectorAll('[type="checkbox"],[type="radio"]'); function preclick (elements_to_click, ...numbers) { const radios_and_checkboxes_to_preclick = []; Array.prototype.slice.call(arguments).forEach(el => radios_and_checkboxes_to_preclick.push(el)); radios_and_checkboxes_to_preclick.forEach(element => radios_and_checkboxes[element].click()); console.log(`There are a total of ${radios_and_checkboxes.length} checkboxes/radio's on this page. The requested preclicks are numbers ${radios_and_checkboxes_to_preclick}`); } preclick(1,5,8,11,14,17,20,23,26,29,32);
Below is a picture of the A9s to show you what I mean, and remember that the last line of the script is preclick(1,5,8,11,14,17,20,23,26,29,32);
So you'll see that within the preclick(1,5,8,11,14,17,20,23,26,29,32) line the 1 corresponds with Well enough, the 5 corresponds with Not Relevant on the next row, and then the 8 with Not Relevant on the next row, etc...
Therefore, if I wanted the first row to always be Very Well then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32); to preclick(0,5,8,11,14,17,20,23,26,29,32);.
Along those same lines if I wanted to do something like change only the next three lines from Not Relevant to Very Relevant then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32); to preclick(1,3,6,9,14,17,20,23,26,29,32)
Finally, this works on really simple things like Furmstons as well. For a simple task like the always selecting Yes in each HIT...
...the last line of the script would simply be preclick(0);
It's really helpful for so many other things like A9s, Alexandrias, Perch, etc... with lots of check boxes or radio buttons, especially if it's a batch and at least some of the answers are the same for each HIT. This script even allows you to leave some questions/categories unanswered in case the answer varies a lot (like Perch) or if you want to, you can avoid selecting every instance of the same answer within a HIT, so instead of pre-selecting all 'no' or all 'yes' it is possible to mix it up.
Ultimately, I have to give credit to @SarahAshlee90 for first posting a script similar to this late last year, and I took it and ran with it. I use and/or modify this radio button pre-click script every day.
https://www.mturkcrowd.com/threads/12-02-scratchy-sunday.3981/#post-1381869
Your script is awesome - thanks for sharing!You're making shit more complicated than it needs to be. It's a 2c batch. Not sure why anyone would want to put this much effort into this. Not everything has to be over-the-top extravagant.
HAHAHA I READ IT WRONG, I GET IT NOW, RECREATION LIKE DODGEBALLrecreation.....recreate.... is that not a word? lol
also don't make babies.
If you make babies, remember they turn into irrational toddlers, and then teenagers.recreation.....recreate.... is that not a word? lol
also don't make babies.
This is an excellent post. Thank you for taking the time to lay this all out in a very simple and concise way. It's very useful. And thanks to @SarahAshlee90 & @Willow for their script work also.These A9s would be a good example to demonstrate a similar script that allows for more custom tailoring of answers and can easily be modified to work with other types of HITs. The script below will pre-select the exact same answers as the script you posted but does it in a different way...
Ultimately, you only need to edit the last line of the script below to use it with other types of HITs
Let's take the current batch of A9s as an example... Each radio button within the HIT is essentially numbered. Typically, the upper-left most radio button is numbered '0' and the numbers increase as you go across the rows and then down. Some HITs, such as Perch, use columns so the radios are increasing in number from top-to-bottom in each column instead of left-to-right in each row. There's sometime a little trial-and-error needed to figure out the numbering scheme of the radios/check-boxes in other types of HITs, but most are fairly simple.Code:// ==UserScript== // @name A9 Tag Relevance $0.02 // @version 1.0 // @author Probably SarahAshlee90 // @include /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/ // @grant none // ==/UserScript== const radios_and_checkboxes = document.querySelectorAll('[type="checkbox"],[type="radio"]'); function preclick (elements_to_click, ...numbers) { const radios_and_checkboxes_to_preclick = []; Array.prototype.slice.call(arguments).forEach(el => radios_and_checkboxes_to_preclick.push(el)); radios_and_checkboxes_to_preclick.forEach(element => radios_and_checkboxes[element].click()); console.log(`There are a total of ${radios_and_checkboxes.length} checkboxes/radio's on this page. The requested preclicks are numbers ${radios_and_checkboxes_to_preclick}`); } preclick(1,5,8,11,14,17,20,23,26,29,32);
Below is a picture of the A9s to show you what I mean, and remember that the last line of the script is preclick(1,5,8,11,14,17,20,23,26,29,32);
So you'll see that within the preclick(1,5,8,11,14,17,20,23,26,29,32) line the 1 corresponds with Well enough, the 5 corresponds with Not Relevant on the next row, and then the 8 with Not Relevant on the next row, etc...
Therefore, if I wanted the first row to always be Very Well then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32); to preclick(0,5,8,11,14,17,20,23,26,29,32);.
Along those same lines if I wanted to do something like change only the next three lines from Not Relevant to Very Relevant then I would change the last line from preclick(1,5,8,11,14,17,20,23,26,29,32); to preclick(1,3,6,9,14,17,20,23,26,29,32)
Finally, this works on really simple things like Furmstons as well. For a simple task like the always selecting Yes in each HIT...
...the last line of the script would simply be preclick(0);
It's really helpful for so many other things like A9s, Alexandrias, Perch, etc... with lots of check boxes or radio buttons, especially if it's a batch and at least some of the answers are the same for each HIT. This script even allows you to leave some questions/categories unanswered in case the answer varies a lot (like Perch) or if you want to, you can avoid selecting every instance of the same answer within a HIT, so instead of pre-selecting all 'no' or all 'yes' it is possible to mix it up.
Ultimately, I have to give credit to @SarahAshlee90 for first posting a script similar to this late last year, and I took it and ran with it. I use and/or modify this radio button pre-click script every day.
https://www.mturkcrowd.com/threads/12-02-scratchy-sunday.3981/#post-1381869
Kristina knows. She’s an expert. She has like 75348843 kids.If you make babies, remember they turn into irrational toddlers, and then teenagers.