reCAPTCHA ShortLink Clicker

This script is not resolver, only can click. Currently wi.cr,short.pe.

当前为 2018-04-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name reCAPTCHA ShortLink Clicker
  3. // @name:ja reCAPTCHAのShortLinkボタンを自動クリック
  4. // @namespace http://fdjaosfijoasfsaf/
  5. // @version 2.0
  6. // @description This script is not resolver, only can click. Currently wi.cr,short.pe.
  7. // @description:ja 現在wi.crとshort.peのみ動作
  8. // @author plgdown
  9. // @include *://wi.cr/*
  10. // @include *://short.pe/*
  11. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
  12. // @grant none
  13. // @run-at document-end
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18. if(location.href.indexOf("://wi.cr/") !== -1){
  19. var count = 0;
  20. var target1 = $('input[name="_Token[_method]"]');
  21. var target2 = $('input[name="_Token[_csrfToken]"]');
  22. var target3 = $('input[name="_Token[fields]"]');
  23. var target4 = $('input[name="_Token[unlocked]"]');
  24.  
  25. target1.ready(inc);
  26. target2.ready(inc);
  27. target3.ready(inc);
  28. target4.ready(inc);
  29.  
  30. function inc(){
  31. count++;
  32. };
  33.  
  34. setInterval(test, 2000);
  35.  
  36. function test(){
  37. if(count == 4){
  38. console.info("exec");
  39. document.getElementById("invisibleCaptchaShortlink").click();
  40. count++;
  41. };
  42. };
  43. }else if(location.href.indexOf("://short.pe/") !== -1){
  44. var target_shortpe = $("button").attr("disabled");
  45. setInterval(function(){
  46. if(typeof $("button").attr("disabled") == 'undefined'){
  47. console.info("exec");
  48. document.getElementById("invisibleCaptchaShortlink").click();
  49. };
  50. },2000);
  51. };
  52. })();