1. Glad you stopped in for a visit!

    Please feel free to peruse around and if you have a minute make sure to sign up for an account! We're one of the largest, most active, and helpful communities you'll find for learning about mTurk & registered accounts automatically get access to tons of useful features on the site.

    Features for members include:

    • The ability to post messages - our community is incredibly helpful & happy to welcome newcomers who are looking to learn the ropes!
    • Live thread update - no need to refresh pages to see new posts/HITs they flow onto the page automatically as they're posted.
    • Desktop alerts - direct PANDAs from exported HITs right on your desktop
    • Access to the full list of HITs exported through the Daily HIT Log
    • TurkerView account which will grant you extra access to HIT review information all across mTurk through TVJS

    But most importantly you'll be joining an amazing community. You'll find all types here, from stay-at-home Moms to IT pros. We're a great group - feel free to join us!

A9 Data Validation - script edit.

Discussion in 'mTurk Scripts & Resources' started by SmokedKipper, Jun 12, 2018.

  1. SmokedKipper

    SmokedKipper Well-Known Member

    Messages:
    947
    Gender:
    Male
    Ratings:
    +1,363 / 0 / -0
    I was trying to do some of the A9's while i work on something else. I do have a script that someone posted almost a month back. It is working with this new batch but it picks something other then the most common radial to click.
    I tried looking at the script in tampermonkey but i cant seem to figure it out. I am trying to get it to select the first in the list. Sadly no matter how i change the script it picks the 4th option. Unless i break the whole thing.

    Thanks to GTR for the script it was a great deal of help a few weeks back. helped me get past the 10k mark.

    Code:
    // ==UserScript==
    // @name A9 Data Validation
    // @version .01
    // @description Amazon Requester Inc. - A9 Data Validation
    // @author GTR
    // @include *s3.amazonaws.com*
    // @require https://code.jquery.com/jquery-3.0.0-alpha1.min.js
    // ==/UserScript==
    $('input[value="None"]').click();
    $('input[value="FALSE"]').click();
    $('input[value="FRONT"]').click();
    $('input[value="YesUnsure"]').click();
    
    (function() {
        'use strict';
    
        // Your code here...
    })();
     
  2. lefty

    lefty Well-Known Member

    Messages:
    18,315
    Gender:
    Female
    Ratings:
    +47,806 / 25 / -0
    Code:
    // ==UserScript==
    // @name A9 Data Validation part 2
    // @version .01
    // @description Amazon Requester Inc. - A9 Data Validation
    // @author GTR
    // @include *s3.amazonaws.com*
    // @require https://code.jquery.com/jquery-3.0.0-alpha1.min.js
    // ==/UserScript==
    $('input[value="MainSame"]').click();
    (function() {
        'use strict';
    
    })();
    try that
     
    • Useful / Informative Useful / Informative x 1
  3. lefty

    lefty Well-Known Member

    Messages:
    18,315
    Gender:
    Female
    Ratings:
    +47,806 / 25 / -0
    alternatively if you wanted to keep those other options, just add that line there with the rest of them

    Code:
    $('input[value="MainSame"]').click();
     
    • Useful / Informative Useful / Informative x 1
  4. SmokedKipper

    SmokedKipper Well-Known Member

    Messages:
    947
    Gender:
    Male
    Ratings:
    +1,363 / 0 / -0
    Oh wow, ty very much.
    I think i need to learn some about scripts.
    again many thanks :)
     
  5. bradko2001

    bradko2001 New Member

    Messages:
    9
    Gender:
    Male
    Ratings:
    +6 / 0 / -0
     
  6. bradko2001

    bradko2001 New Member

    Messages:
    9
    Gender:
    Male
    Ratings:
    +6 / 0 / -0
    I am new here how do I add this script or any other scripts of TamperMokey.
     
  7. Ornac

    Ornac Well-Known Member

    Messages:
    3,023
    Gender:
    Male
    Ratings:
    +3,821 / 0 / -0
    Click on the icon and select create new script. Then just copy and paste the script over the stuff that's already there. Then save it.
     
  8. bradko2001

    bradko2001 New Member

    Messages:
    9
    Gender:
    Male
    Ratings:
    +6 / 0 / -0