08/07 - Shooting Sunday!

Status
Not open for further replies.

Kathryn

¯\_(ツ)_/¯
Contributor
Joined
Jan 23, 2016
Messages
2,341
Reaction score
4,156
Points
588
Gender
Female
I am imagining a script for all these Andrew Shen hits that automatically puts 'yes' in both spots. I can't figure out how to make it work myself. I've tried for like an hour and it's just wasting all the time I could be spending trying to get my numbers up.
Oh, I wrote that earlier. PM me.
 

jan

Moderator
Moderator
Joined
Jan 12, 2016
Messages
26,196
Reaction score
50,214
Points
1,463
Gender
Female
Well, thank heavens. Finally watched all of those episodes (the TV HIT). I think this only confirms that I really don't like TV anymore (3 hours of that...........:cliff:).

OTOH
PE $20.00 (so that's nice :).
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
JenniLeigh @JenniLeigh

Code:
// ==UserScript==
// @name         Andrew Shen
// @namespace    http://kadauchi.com/
// @version      1.0.0
// @description  blank
// @author       Kadauchi
// @icon         http://kadauchi.com/avatar4.jpg
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.0.min.js
// @hitname      blank
// @hitsave      blank
// ==/UserScript==

_andrew_shen();

function _andrew_shen() {
    var submit = false;
    var idx = 0;

    $(':radio').eq(0).focus();

    $(document).keydown(function (e) {
        switch (e.which) {
            case 49: // 1
            case 97: // Numpad1
                $(':radio:even').eq(idx).click();
                idx ++;
                if (idx === 2 && submit) { $('[type="submit"]').click(); }
                break;
            case 50: // 2
            case 98: // Numpad2
                $(':radio:odd').eq(idx).click();
                idx ++;
                if (idx === 2 && submit) { $('[type="submit"]').click(); }
                break;
            case 51: // 3
            case 99: // Numpad 3
                $('[type="submit"]').click();
                break;
            default: return;
        }
    });
}
 

Bokamo

Well-Known Member
Joined
Jun 16, 2016
Messages
1,240
Reaction score
2,504
Points
513
Age
44
Gender
Female
Well, thank heavens. Finally watched all of those episodes (the TV HIT). I think this only confirms that I really don't like TV anymore (3 hours of that...........:cliff:).

OTOH
PE $20.00 (so that's nice :).
I love tv, but that was a little..brutal
 
  • Like
Reactions: jan

Randomacts

Banned
Banned
Joined
Jul 25, 2016
Messages
1,877
Reaction score
1,515
Points
363
Age
27
Gender
Male
You've received a bonus from McDermott Experiments for work related to 3KQC8JMJGC09KO4PM3U03DQP394H3P.
The value of your bonus is: $15.06 USD

The Requester included this note:
completed HIT

Thanks for being a Worker on Mechanical Turk!

DAY...

SAVED
 

JenniLeigh

Batch Betta Have My Money
Contributor
Joined
Jan 12, 2016
Messages
23,084
Reaction score
46,895
Points
1,388
Location
my napping spot
Gender
Female
JenniLeigh @JenniLeigh

Code:
// ==UserScript==
// @name         Andrew Shen
// @namespace    http://kadauchi.com/
// @version      1.0.0
// @description  blank
// @author       Kadauchi
// @icon         http://kadauchi.com/avatar4.jpg
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.0.min.js
// @hitname      blank
// @hitsave      blank
// ==/UserScript==

_andrew_shen();

function _andrew_shen() {
    var submit = false;
    var idx = 0;

    $(':radio').eq(0).focus();

    $(document).keydown(function (e) {
        switch (e.which) {
            case 49: // 1
            case 97: // Numpad1
                $(':radio:even').eq(idx).click();
                idx ++;
                if (idx === 2 && submit) { $('[type="submit"]').click(); }
                break;
            case 50: // 2
            case 98: // Numpad2
                $(':radio:odd').eq(idx).click();
                idx ++;
                if (idx === 2 && submit) { $('[type="submit"]').click(); }
                break;
            case 51: // 3
            case 99: // Numpad 3
                $('[type="submit"]').click();
                break;
            default: return;
        }
    });
}
Thank you for tagging me....

am I missing a sweet batch? o.0
 
  • Like
Reactions: Yuk and Kerek

T. Leela

Oh Lord...
Contributor
Joined
May 12, 2016
Messages
11,050
Reaction score
14,046
Points
1,388
Location
Colorado
Gender
Female
I dunno, it was a wrong tag, but I dunno lol, I just made the script glancing at the HIT.
Well if it works, glad she shared it... :wink: thanks. except now i feel guiltily for using it if you didn't intend it. man what the heck is with my conscience?
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
Well if it works, glad she shared it... :wink: thanks. except now i feel guiltily for using it if you didn't intend it. man what the heck is with my conscience?
Huh?
 

ohsnap

just me
Joined
Jul 14, 2016
Messages
134
Reaction score
203
Points
243
Age
57
Gender
Female
You've received a bonus from McDermott Experiments for work related to 3KQC8JMJGC09KO4PM3U03DQP394H3P.
The value of your bonus is: $15.06 USD

The Requester included this note:
completed HIT

Thanks for being a Worker on Mechanical Turk!

DAY...

SAVED
Happy to see that that one came through for you!
 
  • Like
Reactions: Randomacts
Status
Not open for further replies.