Welcome to MTurk Crowd

Work on Amazon Mechanical Turk, learn from the best, and have fun doing it. Join the crowd today!

Sign Up

Mturk Group IDs (prevent script accidents)

Discussion in 'Userscripts, Extensions, and Software' started by DCI, Aug 17, 2018.

  1. DCI

    DCI
    Expand Collapse
    Well-Known Member

    Joined:
    Jan 14, 2016
    Messages:
    1,071
    Likes:
    3,553
    Most HITs are hosted on either mturkcontent.com or s3.amazonaws.com. This leads to a lot of accidents because people make scripts for a HIT that run on those domains, and then later they do some other HIT, not realizing that they have active hotkeys or somethings else that leads to them submitting bad data.

    I made a script that adds group IDs to all HIT frame urls to avoid this problem. I've used something like this for a long time, but it was always buggy in Chrome and didn't always work. This version should be very reliable.

    Now instead of having an include line like this:
    Code:
    // @include https://www.mturkcontent.com*
    
    You can have an include line like this:
    Code:
    // @include https://www.mturkcontent.com*3S1POB7SU8CPQKPT5SXLHVJG57LUQV
    
    There is a very small percentage of HITs (Crowdsurf is one) that do annoying stuff that cause the script to not work, but it should work for almost everything. On HITs that load quickly, you might notice a flicker on load. On most HITs it's not noticeable.

    https://greasyfork.org/en/scripts/371285-mturk-group-ids

    It's not really necessary to know much about userscripts to use this btw. You just need to be able to add a HIT's group ID to the include line of a script. Then you can easily fix scripts that you already have or that others give to you.
     
    #1 DCI, Aug 17, 2018
    Last edited: Aug 17, 2018
    Blakka1 and TSolo315 like this.
  2. DCI

    DCI
    Expand Collapse
    Well-Known Member

    Joined:
    Jan 14, 2016
    Messages:
    1,071
    Likes:
    3,553
    If you installed the first version of this script, you should update it to the current version. I forgot to exclude the external submit page, so it would cause an error when submitting hits. It should work fine now though.
     
    #2 DCI, Aug 17, 2018
    Last edited: Aug 17, 2018