06/20 - Dad's Day Sunday

Discussion in 'Daily mTurk HITs Threads' started by Heat Mixer, Jun 20, 2021.

Thread Status:
Not open for further replies.
  1. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    Code:
    // ==UserScript==
    // @name         New Userscript
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       You
    // @match        http://*/*
    // @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
    // @grant        none
    // ==/UserScript==
    you guys what are the things I need to add and change in here before I write my script I forgot?
     
  2. theweakkittyzoomer

    theweakkittyzoomer New Turker

    Messages:
    783
    Ratings:
    +85
    Raul Scortea [A8ISJOP7M84BW] Validation of Quantity Price - $0.30 | PANDA


    Unrated

    Unrated

    Unrated
    $33.75 / hour
    00:00:32 / completion time
    Pros:
    Cons:


    Catchability: Great (HIT Last Seen: 20 seconds ago)
    Qualifications: Online Purchase - Home & Garden EqualTo 1; Masters Exists ; Location EqualTo US;

    To read Raul Scortea's full profile check out TurkerView!
     
  3. theweakkittyzoomer

    theweakkittyzoomer New Turker

    Messages:
    783
    Ratings:
    +85
    Ioana [A23R1D3RK8U946] Validation of Quantity Price - $0.30 | PANDA


    Unrated

    Unrated

    Unrated
    $24.55 / hour
    00:00:44 / completion time
    Pros:
    Cons:


    Catchability: Great (HIT Last Seen: 22 seconds ago)
    Qualifications: Online Purchase - Home & Garden EqualTo 1; Masters Exists ; Location EqualTo US;

    To read Ioana's full profile check out TurkerView!
     
  4. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    Greetings from Amazon Mechanical Turk,

    You've received a bonus from Sara Madsen for work related to 39WICJI5BYDHQP048OQTD2UAG6J3ZL.
    The value of your bonus is: $0.25 USD

    The Requester included this note:
    Task #1 was finished. Thanks for doing my study.

    Greetings from Amazon Mechanical Turk,

    You've received a bonus from TABS Lab for work related to 3MZ3TAMYUPBKY2FJ12QELW76RMRIRE.
    The value of your bonus is: $0.91 USD

    The Requester included this note:
    No comment provided by Requester.

    Thanks for being a Worker on Mechanical Turk!
     
    • 5/5 Pay 5/5 Pay x 2
  5. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    Code:
    // ==UserScript==
    // @name         test
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @author       Turker
    // @match        http://*/*
    // @grant        none
    // @exclude      https://forum.turkerview.com/*
    // ==/UserScript==
    
    (function() {
        'use strict';
    
    var searchForThis = document.getElementsByTagName("p")[15].innerText;
        alert(searchForThis);
    
        // Your code here...
    })();
    halp
     
  6. WimpLo

    WimpLo Survey Slingin' Batch Masta Former MTG MotM

    Messages:
    35,377
    Gender:
    Female
    Ratings:
    +76,768
    [​IMG]
     
    • Love Love x 5
  7. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    JS RESEARCH [A3RKZXGVUF1PFW] Fun estimates study!(~ 4 minutes) - $0.50 | PANDA


    Generous

    Unrated

    Unrated
    $24.32 / hour
    00:01:14 / completion time
    Pros:
    Cons:


    Catchability: Great (HIT Last Seen: 4 seconds ago)
    Qualifications: Exc: [-1260112667-301846] DoesNotExist ; Total approved HITs >= 100; CR Research Group #2 DoesNotExist ; HIT approval rate (%) >= 96; CR Research Group #1 >= 100; Location In US;

    To read JS RESEARCH's full profile check out TurkerView!
     
  8. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    @turker I'd help if I could but I'm totally clueless when it comes to scripts, sorry!
     
    • Love Love x 2
  9. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    Chris Shen [A273YMWQWF1EZF] Check Sales Tax for Amazon Products - $0.14 | PANDA


    Generous

    Unrated

    Unrated
    $24.00 / hour
    00:00:21 / completion time
    Pros:
    Cons:


    Catchability: Okay (HIT Last Seen: 2 minutes ago)
    Qualifications: Location EqualTo US;

    To read Chris Shen's full profile check out TurkerView!
     
  10. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    Chris Shen [A273YMWQWF1EZF] Check Sales Tax for Amazon Products - $0.12 | PANDA


    Good

    Unrated

    Unrated
    $ / hour
    00:00:36 / completion time
    Pros:
    Cons:


    Catchability: Okay (HIT Last Seen: 2 minutes ago)
    Qualifications: Location EqualTo US;

    To read Chris Shen's full profile check out TurkerView!
     
  11. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    Thank you for the thought! I'm actually reasonably good at scripting, but it's really hard where I am staying right now because I can't think.
     
    • Love Love x 2
  12. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    landy [A1WIUHGSLHWUWD] Which colors are your favorite? - $0.10 | PANDA


    Generous

    Unrated

    Unrated
    $15.65 / hour
    00:00:23 / completion time
    Pros:
    - easy.
    Cons:


    Catchability: Great (HIT Last Seen: 4 seconds ago)
    Qualifications: Location EqualTo US;

    To read landy's full profile check out TurkerView!
     
  13. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    Code:
    // ==UserScript==
    // @name         test
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       turker
    // @grant        none
    // @require     http://code.jquery.com/jquery-latest.min.js
    // @include        *
    // @exclude     http://turkerhub.com/*
    // @exclude     https://forum.turkerview.com/*
    // ==/UserScript==
    
    if ( $("body:contains('For research use')").length ) {
    
        alert("it works up to this point");
    
    var searchTerm = document.getElementsByName("mturk_form")[0].getElementsByTagName("p")[0].innerText;
        alert(searchTerm);
    
    };
    
    halp it won't grab ANY text off mturk and put it in an alert box why how to fix???
     
  14. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    who is left here after 2020 who still scripts? my problem is so basic but I'm stuck, I don't know why I can't grab text the usual same way I always did before.
     
  15. ChrisTurk

    ChrisTurk Administrator

    Messages:
    56,746
    Ratings:
    +163,330
    Without the source you're trying to run the script on it's impossible to know, but likely:
    1. There aren't enough paragraph elements for what you're pulling (console will have innerText of undefined exception)
    2. The text content itself is elsewhere (this'll be especially painful in crowdform elements)
     
    • Love Love x 1
  16. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    Code:
    // ==UserScript==
    // @name         test
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       turker
    // @grant        none
    // @require     http://code.jquery.com/jquery-latest.min.js
    // @include        *
    // @exclude     http://turkerhub.com/*
    // @exclude     https://forum.turkerview.com/*
    // ==/UserScript==
    
    if ( $("body:contains('For research use')").length ) {
    
        alert("it works up to this point");
    
    var searchTerm = document.getElementsByName("form")[0].getElementsByTagName("p")[2].innerText;
        alert(searchTerm);
    
    };
    
    the script runs on these hits -
    Amazon Mechanical Turk (mturk.com)

    it's supposed to grab the search terms beside this text -
    "For research use, please ignore:"
     
  17. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    crowd-form - Amazon SageMaker

    how do I get the text from a special amazon "crowd-form" element? and put the text in an alert box. so I can do other stuff with the text later.
     
  18. ChrisTurk

    ChrisTurk Administrator

    Messages:
    56,746
    Ratings:
    +163,330
    this is the wrong selector for what you were going for

    If you type these manually into the console it'll show you the selectors in real time.. do the work in devtools then paste working code over to tampermonkey
     
    • Love Love x 1
  19. turker

    turker Survey Slinger

    Messages:
    15,289
    Ratings:
    +24,283
    I've never used the console but I will try THANK YOU
     
  20. Charlie Rose

    Charlie Rose Well-Known Turker

    Messages:
    7,772
    Gender:
    Female
    Ratings:
    +3,602
    Academic Research [A3PE2WFW7YARFR] Opinion and Belief Survey(~ 2 minutes) - $0.20 | PANDA


    Generous

    Unrated

    Unrated
    $14.69 / hour
    00:00:49 / completion time
    Pros:
    Cons:


    Catchability: Great (HIT Last Seen: 2 seconds ago)
    Qualifications: Exc: [302438-301849] DoesNotExist ; CR Research Group #2 DoesNotExist ; CR Research Group #1 >= 100; Location In US;

    To read Academic Research's full profile check out TurkerView!
     
Thread Status:
Not open for further replies.