Open HIT on Captcha (Firefox)

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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?");
  }
}