How-To Scripts for Recently Joined Turkers

Discussion in 'General' started by Monica, Jun 6, 2014.

  1. lunarobverse

    Joined:
    Mar 22, 2013
    Messages:
    13,055
    Likes Received:
    0
    This happened to me today. I'm using Chrome on Mac OS. I disabled Tampermonkey, closed and restarted Chrome, re-enabled Tampermonkey, and all my scripts began working again.
     
  2. FoxFire

    FoxFire User

    Joined:
    Sep 9, 2014
    Messages:
    55
    Likes Received:
    0
    Yay! That seemed to do the trick, thank you! :D
     
  3. Monica

    Monica User

    Joined:
    Jan 9, 2014
    Messages:
    9,568
    Likes Received:
    0
    Ackkk ok I'm super sorry. I'm gonna be going through here today and updating the scripts that aren't working properly. I'll also realllly try to get to the hit database tutorial, since I've finally got that pain in the tush working. Annnnd I'm setting up this thread to notify me of changes, so I'll actually respond to questions.
     
  4. jonthan63

    jonthan63 New Member

    Joined:
    Sep 16, 2014
    Messages:
    1
    Likes Received:
    0
    Thanks for the info on the scripts they work great!
     
  5. PinkiePie

    PinkiePie User

    Joined:
    Sep 21, 2014
    Messages:
    556
    Likes Received:
    0
    I finally overcame my fear and installed some scripts, which so far, are awesome! My only question is... Is there any reason for the Javascript Runtime error that I am now getting every time I bring up the HITS page? I'm using Greasemonkey (Firefox of course). I'm assuming it may be due to one of the scripts, so I went and deleted them all but to no avail, I was still getting the error. So, I just put them all back on. Is this a common error?
     
  6. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    402
    Likes Received:
    3
    Some pages I'm getting it too. I tried using that toggle add on and it didn't seem to do anything. My antivirus doesn't like it so I finally disabled it.
     
  7. ubergrad

    ubergrad User

    Joined:
    Mar 14, 2013
    Messages:
    1,109
    Likes Received:
    0
    Edit.
     
    #47 ubergrad, Sep 24, 2014
    Last edited by a moderator: Sep 25, 2014
  8. PinkiePie

    PinkiePie User

    Joined:
    Sep 21, 2014
    Messages:
    556
    Likes Received:
    0
    Can someone be so kind to share the script for Pending Hits earnings for Firefox? I've been searching all over for it and all of them I'm finding are not working. I would greatly appreciate it!
     
  9. BloodRayen

    BloodRayen User

    Joined:
    Oct 23, 2013
    Messages:
    2,187
    Likes Received:
    0
    i think your only option is to run the HIT Database . other scripts do not work on ff
     
  10. PinkiePie

    PinkiePie User

    Joined:
    Sep 21, 2014
    Messages:
    556
    Likes Received:
    0
    I'm giving that a shot. Thank you!
     
  11. amaira515

    amaira515 Member

    Joined:
    Oct 14, 2014
    Messages:
    8
    Likes Received:
    0
    I need help with Turkopticon. I cannot get it to show up at all and it is really frusterating. I'm fairly desperate now. Did anyone else have issues or is there a walk through that I can make sure I am installing it correctly? I'm on firefox and I keep getting a error about my java script but it is all updated. All I can think is firefox is blocking java script deployment but I don't know how to unblock it if that is the issue.
     
  12. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    402
    Likes Received:
    3
    BloodRayen gave me this the other day. https://greasyfork.org/scripts/1755-turkopticon It's still not working for me 100% but I do have two now and don't know which one to delete. You can also go directly to turkopticon's site and paste the requestor name in the search.
     
  13. NICOLE

    NICOLE Member

    Joined:
    Aug 20, 2014
    Messages:
    11
    Likes Received:
    0
    under my tampermonkey it shows that i have no scripts running but when i go to my dashboard it shows everything i have any ideas
     
  14. lunarobverse

    Joined:
    Mar 22, 2013
    Messages:
    13,055
    Likes Received:
    0
    The little icon in the toolbar is only going to show you scripts relevant to the page/tab you are currently showing.

    Also, I've found that even if the script has the green circle next to it in the dashboard, I still have to click the checkbox and select "Enable" before it will actually work on the relevant page.
     
  15. justlookin

    justlookin User

    Joined:
    Jan 20, 2013
    Messages:
    1,122
    Likes Received:
    0
    AAArrrgh. I am lost. Trying to find out where the instructions are on running the script for the RelevanceQuest HITs- that marks them non adult...does anyone know how to use this...??


    // ==UserScript==
    // @name RelevanceQuest HIT Helper
    // @namespace http://ericfraze.com
    // @version 0.8
    // @description (mTurk) Selects all "Non Adult" radio buttons in "Flag images - (WARNING: This HIT may contain adult content. Worker discretion is advised.)" Clicking on an image flags it as explicit. Clicking on an image twice flags it as fetish. Right clicking on an image flags it as gruesome. Middle clicking an image flags it as suggestive.
    // @include https://s3.amazonaws.com/mturk_bulk/hits/*
    // @include https://www.mturkcontent.com/dynamic/hit*
    // @copyright 2014+, Eric Fraze
    // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
    // ==/UserScript==

    $(document).ready(function() {
    // Make sure we are on the right HIT
    if ( ( $("label[for='illegal_content']:contains('We do our best to prevent illegal content from being included in the task.')").length )
    && ( $("#__Result1_0[value='PERVERSION']").length ) ) {
    // Check all radi buttons as non-adult
    $("input[value='NOT_ADULT']").prop('checked', true);

    // Check "fetish" on double click
    $("img").dblclick( function() {
    // Check the button
    $(this).parents("td").find("input[value='PERVERSION']").click();

    // Focus so the enter key can submit the HIT
    $(this).parents("td").find("input[value='PERVERSION']").focusWithoutScrolling();

    // Change image opacity so the user knows the script ran correctly
    $(this).css("opacity", "0.6");
    });

    // All other mouse clicks
    $('img').mousedown(function(event) {
    switch (event.which) {
    case 1:
    // Check "Adult" on left click
    $(this).parents("td").find("input[value='EXPLICIT']").click();
    $(this).parents("td").find("input[value='EXPLICIT']").focusWithoutScrolling();
    $(this).css("opacity", "0.6");
    break;
    case 2:
    // Check "Suggestive" on middle click
    $(this).parents("td").find("input[value='SUGGESTIVE']").click();
    $(this).parents("td").find("input[value='SUGGESTIVE']").focusWithoutScrolling();
    $(this).css("opacity", "0.6");
    break;
    case 3:
    // Check "Gruesome" on right click
    $(this).parents("td").find("input[value='GRUESOME']").click();
    $(this).parents("td").find("input[value='GRUESOME']").focusWithoutScrolling();
    $(this).css("opacity", "0.6");
    break;
    }
    });

    // Stop right click menu
    document.addEventListener("contextmenu", function(e){
    if (e.target.nodeName === "IMG") {
    e.preventDefault();
    }
    }, false);

    // Stop scrolling on focus of radio button
    $.fn.focusWithoutScrolling = function(){
    var x = window.scrollX, y = window.scrollY;
    this.focus();
    window.scrollTo(x, y);
    };

    // Stop scrolling on middle mouse press
    $(document.body).on("mousedown", function (e) { e.preventDefault(); } );

    }
    });
     
  16. Monica

    Monica User

    Joined:
    Jan 9, 2014
    Messages:
    9,568
    Likes Received:
    0
    on chrome: left click on your tampermonkey icon[​IMG], select "add new script...", select all of the text and delete it from that new script so you have a blank page. Copy the text and paste it in your blank script. Save and you've got a new script.

    on Firefox: this is going to require a few more steps than on chrome. Copy all of the text, open a new text document file (you can do this by right clicking on your homescreen->new->new text document), and paste your code into that. Save as "your_script_name.user.js" make sure you save it as that rather than a .txt file. When it saves on your desktop it'll have a scroll icon. Open firefox, select menu, click the monkey, and drag/drop the script into the browser window (example picture)


    Start at // ==UserScript== all the way to }); and you should have it!
     
  17. justlookin

    justlookin User

    Joined:
    Jan 20, 2013
    Messages:
    1,122
    Likes Received:
    0
    OMG thank you!!!
     
  18. NICOLE

    NICOLE Member

    Joined:
    Aug 20, 2014
    Messages:
    11
    Likes Received:
    0
    how do you get that blue auto refresh button on the top by your address bar.....probably a dumb question lol
     
  19. BloodRayen

    BloodRayen User

    Joined:
    Oct 23, 2013
    Messages:
    2,187
    Likes Received:
    0
    that`s the Auto Refreh Plus extension for chrome
     
  20. NICOLE

    NICOLE Member

    Joined:
    Aug 20, 2014
    Messages:
    11
    Likes Received:
    0
    how do i get it
     

Share This Page