shink.inとかのreCAPTCHAを自動クリック

画像認識を自動処理するものではありません。使用は自己責任で。

当前为 2017-02-18 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name shink.inとかのreCAPTCHAを自動クリック
  3. // @namespace http://hogehoge/
  4. // @version 1.1
  5. // @description 画像認識を自動処理するものではありません。使用は自己責任で。
  6. // @author H. Amami
  7. // @match https://www.google.com/recaptcha/api2/*
  8. // @grant none
  9. // @run-at document-end
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var check = function(ref){
  15. var domains = ["fas.li", "ouo.io", "ouo.press", "shink.in", "al.ly", "coinlink.co"];
  16. for(var domain of domains) {
  17. if(~ref.indexOf(domain)) return true;
  18. }
  19. return false;
  20. };
  21. if(check(document.referrer)){
  22. var hoge = function(){
  23. document.getElementById("recaptcha-anchor").click();
  24. };
  25. setTimeout(hoge, 0);
  26. }
  27. })();