您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
After you click "Slow download" button the script solves the numeric captcha, waits for the countdown to finish, clicks the download button
当前为
- // ==UserScript==
- // @name Simple html numeric captcha solver
- // @description After you click "Slow download" button the script solves the numeric captcha, waits for the countdown to finish, clicks the download button
- // @include http://www.rziz.net/*/*.html
- // @include http://file.up09.com/*
- // @include http://clicknupload.com/*
- // @include http://hulkload.com/*
- // @include http://up4.im/*
- // @include http://www.gboxes.com/*
- // @include http://mrfile.co/*.html
- // @version 1.0.5
- // @author wOxxOm
- // @namespace wOxxOm.scripts
- // @license MIT License
- // @grant none
- // @run-at document-end
- // ==/UserScript==
- var x = document.evaluate('//form//div/span[contains("0123456789",.)]', document,
- null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
- var btn = document.querySelector('[id*="btn"][id*="download"]');
- if (x && btn) {
- var nodes = [];
- for (i = 0; i < 4; i++)
- nodes.push(x.snapshotItem(i));
- var nodes = nodes.sort(function(a,b){ return parseInt(a.style.paddingLeft) - parseInt(b.style.paddingLeft) });
- document.forms.F1.code.value = nodes.map(function(n){ return n.textContent }).join('');
- if (location.href.indexOf('clicknupload.com') >= 0)
- document.forms.F1.submit();
- else
- new MutationObserver(function(mutations) {
- if (!btn.disabled)
- document.forms.F1.submit();
- }).observe(btn, {attributes:true, attributesFilter:['disabled']});
- }