// ==UserScript== // @name Qaptcha pass // @namespace https://greasyfork.org/fr/users/11667-hoax017 // @description Pass captcha // @include * // @version 1 // @grant none // @require https://code.jquery.com/jquery-2.1.3.min.js // @downloadURL none // ==/UserScript== $ = jQuery.noConflict(true); jQuery(document).ready(function($) { var name = $('div.QapTcha input[type="hidden"]').attr('name'); if (name) { $.ajax({ type:"POST", url:"/php/Qaptcha.jquery.php", data:"qaptcha_key="+name+"&action=qaptcha", cache:false, success:function(data){ $('div.QapTcha input[type="hidden"]').val(''); $('div.QapTcha').parent().find('input[type="submit"]').click(); } }); } });