Advertisement
Guest User

urle.co用userscript

a guest
Apr 14th, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name            a
  3. // @name:ja         a
  4. // @namespace       http://hogehoge/
  5. // @version         1.0.0
  6. // @description     b
  7. // @description:ja  b
  8. // @author          H. Amami
  9. // @include         http://urle.co/*
  10. // @grant           none
  11. // @run-at          document-ready
  12. // ==/UserScript==
  13.  
  14. captchaCheckAdblockUser = function() {};
  15. onloadRecaptchaCallback = function() {
  16.     if (app_vars['captcha_type'] === 'recaptcha') {
  17.         if ($('#captchaShortlink').length) {
  18.             captchaShortlink = grecaptcha.render('captchaShortlink', {
  19.                 'sitekey': app_vars['reCAPTCHA_site_key'],
  20.                 'callback': function(response) {
  21.                     $('#link-view').submit();
  22.                 }
  23.             });
  24.         }
  25.     }
  26. };
  27. // 仕様が変更されたら http://urle.co/js/app.js を参考にcallbackの部分を追加する
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement