Open HIT on Captcha (Firefox)

Gives you the option of accepting a predetermined HIT for captcha completion

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name  Open HIT on Captcha (Firefox)
// @description Gives you the option of accepting a predetermined HIT for captcha completion
// @author DCI
// @namespace http://redpandanetwork.org
// @version 1.1
// @include https://www.mturk.com/mturk/accept*
// @include https://www.mturk.com/mturk/continue*
// @include https://www.mturk.com/mturk/preview*
// @include https://www.mturk.com/mturk/return*
// @require http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==

var Requester = "Brelig";

var GroupID = "3USMLONC9E5MDB1GD7ZQ6SDG15K85R";






captchacheck();

function captchacheck(){
if ($('input[name="userCaptchaResponse"]').length > 0) {hitgrab()};}
   
function hitgrab() {
  if (confirm("CAPTCHA! Would you like a " + (Requester)+ "?") == true) {
  window.open("https://www.mturk.com/mturk/previewandaccept?groupId="+GroupID+"", "mywindow", "width=800, height=600, top=200, left=200, scrollbars=yes, statusbar=no");
alert("Ready now?");
  }
}