Greasy Fork is available in English.

GeoCheck auto Captcha

Automagicly fills in the Captcha for GeoCheck

2019-02-03 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

// ==UserScript==
// @name         GeoCheck auto Captcha
// @namespace    http://technetium.be
// @version      1.0
// @description  Automagicly fills in the Captcha for GeoCheck
// @author       Toni Cornelissen (github@technetium.be)
// @match        https://*geocheck.org/geo_inputchkcoord.php*
// @grant        none
// ==/UserScript==

(function() {
	var md5 = document.getElementsByName('geoform')[0].outerHTML.match(/validateChkCoordsForm\(this,'(\w*)/)[1];
	console.log(md5);
    var i = -1;
    while(hex_md5(("0000"+(++i)).slice(-5)) !== md5);
    document.getElementsByName('usercaptcha')[0].value = ("0000"+i).slice(-5)
})();