reCAPTCHA Helper

This automatically clicks on any recaptcha on the webpage and submits it directly after you solved it

当前为 2016-04-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name reCAPTCHA Helper
  3. // @version 0.3
  4. // @description This automatically clicks on any recaptcha on the webpage and submits it directly after you solved it
  5. // @author Royalgamer06 & Tackyou
  6. // @include *://*
  7. // @grant none
  8. // @namespace https://greasyfork.org/scripts/18449-recaptcha-form-autosubmit/
  9. // ==/UserScript==
  10.  
  11. if (location.href.indexOf('google.com/recaptcha') > -1) {
  12. var clickCheck = setInterval(function() {
  13. if (document.querySelectorAll('.recaptcha-checkbox-checkmark').length > 0) {
  14. clearInterval(clickCheck);
  15. document.querySelector('.recaptcha-checkbox-checkmark').click();
  16. }
  17. }, 100);
  18. } else {
  19. var forms = document.forms;
  20. for (var i = 0; i < forms.length; i++) {
  21. if (forms[i].innerHTML.indexOf('google.com/recaptcha') > -1) {
  22. var rc_form = forms[i];
  23. var solveCheck = setInterval(function() {
  24. if (grecaptcha.getResponse().length > 0) {
  25. clearInterval(solveCheck);
  26. rc_form.submit();
  27. }
  28. }, 100);
  29. }
  30. }
  31. }