// ==UserScript==
// @name Image Recognition Co
// @namespace SarahAshlee90
// @description 1 no, 2 yes, 3 not sure
// @include https://image-recognition-hits*
// @version 1
// @grant GM_log
// @require https://code.jquery.com/jquery-3.1.1.min.js
// @hitname Categorize Images (WARNING: This HIT may contain offensive content. Worker discretion is advised.)
// @hitsave https://image-recognition-hits.s3.amazonaws.com/hits/6066_hit_41850319.html?assignmentId=ASSIGNMENT_ID_NOT_AVAILABLE&hitId=3Q2T3FD0ON8JY0AK3Q3R2XYTZQKM3S
// ==/UserScript==
i=0
window.onkeydown = function (event) {
if(event.which == 97){ //numpad 1 hotkey
$('input[value="no"]').eq(i).click();
i++
$('input[value="not_sure"]').eq(i).focus();
}
if(event.which == 98){ //numpad 2 hotkey
$('input[value="yes"]').eq(i).click();
i++
$('input[value="not_sure"]').eq(i).focus();
}
if(event.which == 99){ //numpad 3 hotkey
$('input[value="not_sure"]').eq(i).click();
i++
$('input[value="not_sure"]').eq(i).focus();
}
}