I found a public script that uses the ` key to submit HITs and it seems to work fine for everything but 5's. I'm using @include *
Any help would be appreciated
-
Code:const submitButton = document.querySelector('a.submit-btn');
Code:document.querySelector('#submitButton').click(); or document.querySelector('[type="submit"]').click(); or $('#submitButton').click();
Code:submitButton.click();
I think that may work for you. -
Okay, made the change. Does this look close?
// ==UserScript==
// @Name MTurk Submit HIT Hotkey
// @namespace https://mturkers.org/adaaaam
// @version 2017.02.28.3
// @description Enables pressing grave (`) to submit HITs on MTurk
// @author adaaaam
// @include *
// ==/UserScript==
const submitButton = document.querySelector('a.submit-btn');
if (document.querySelector('iframe')) document.querySelector('iframe').focus();
window.addEventListener("keydown", function(e) {
if (e.keyCode == "192") {
e.preventDefault();
submitButton.click();
}
}); -
I think that may work for you...now just gotta wait for some to show up :emoji_joy:
-
5/5 Pay x 1
-
-
If it doesn't work whenever they show, post here again and we'll see if we can get it going for you.
-
This is interesting. I made a mouse-move-clicker in ahk that looks for the image of the submit button on press. This might be better.