Open HIT on Captcha (Firefox)

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

  1. // ==UserScript==
  2. // @name Open HIT on Captcha (Firefox)
  3. // @description Gives you the option of accepting a predetermined HIT for captcha completion
  4. // @author DCI
  5. // @namespace http://redpandanetwork.org
  6. // @version 1.1
  7. // @include https://www.mturk.com/mturk/accept*
  8. // @include https://www.mturk.com/mturk/continue*
  9. // @include https://www.mturk.com/mturk/preview*
  10. // @include https://www.mturk.com/mturk/return*
  11. // @require http://code.jquery.com/jquery-latest.min.js
  12. // ==/UserScript==
  13.  
  14. var Requester = "Brelig";
  15.  
  16. var GroupID = "3USMLONC9E5MDB1GD7ZQ6SDG15K85R";
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. captchacheck();
  24.  
  25. function captchacheck(){
  26. if ($('input[name="userCaptchaResponse"]').length > 0) {hitgrab()};}
  27. function hitgrab() {
  28. if (confirm("CAPTCHA! Would you like a " + (Requester)+ "?") == true) {
  29. window.open("https://www.mturk.com/mturk/previewandaccept?groupId="+GroupID+"", "mywindow", "width=800, height=600, top=200, left=200, scrollbars=yes, statusbar=no");
  30. alert("Ready now?");
  31. }
  32. }