您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automagicly fills in the Captcha for GeoCheck
// ==UserScript== // @name GeoCheck auto Captcha // @namespace http://technetium.be // @version 1.3.2 // @description Automagicly fills in the Captcha for GeoCheck // @author Toni Cornelissen ([email protected]) // @match *://*.geocheck.org/geo_inputchkcoord.php* // @match *://*.geotjek.dk/geo_inputchkcoord.php* // @grant none // ==/UserScript== (function() { function captcha() { if (!hex_md5) { window.setTimeout(captcha, 103); return } var i = -1; var md5 = document.getElementsByName('geoform')[0].outerHTML.match(/validateChkCoordsForm\(this,'(\w*)/)[1]; while(hex_md5(("0000"+(++i)).slice(-5)) !== md5); document.getElementsByName('usercaptcha')[0].type = 'text'; document.getElementsByName('usercaptcha')[0].value = ("0000"+i).slice(-5); } captcha(); })();