// ==UserScript== // @name 收费网盘助手 // @namespace http://tampermonkey.net/ // @version 1.1 // @description 💫减少大量繁琐的人工操作,用户只需要输入验证码或者点击真实下载按钮;没有破解VIP,网盘原有的各种限制还在。 // @author czy // @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js // @match http://www.xfpan.cc/*.html // @match http://www.xunniufile.com/*.html // @match http://www.kufile.net/file/*.html // @license GPL-3.0-only // @grant GM_setClipboard // @grant GM_getValue // @grant GM_setValue // @run-at document-end // @compatible Chrome // @downloadURL none // ==/UserScript== /* eslint-disable no-redeclare */ /* eslint-disable no-undef */ (function() { 'use strict'; console.log('-----title-----'+ document.title); console.log('-----href-----'+ document.location.href); if(document.location.href.indexOf('http://www.xfpan.cc/') != -1) { console.log("-----www.xfpan.cc-----"); var str1='💫 收费网盘助手 💫

1.减少人工操作

2.用户只需要输入验证码

3.没有破解VIP,网站各种限制还在'; var obj9=document.querySelectorAll("div.Dow_nr_r"); if(obj9!=null && obj9.length>0) obj9[0].innerHTML =str1; if(document.location.href.indexOf('/file/') > 0) { $('#slow_button').click(); var myVar = setInterval(function(){ var obj1=document.querySelector("#spanDownWait > lable"); document.title=obj1.innerText.substring(3); }, 1000); } } else if(document.location.href.indexOf('http://www.xunniufile.com/') != -1) { console.log("-----www.xunniufile.com----"); var str1= '💫 收费网盘助手 💫

1.减少人工操作

2.不需要输入验证码

3.一直等待直到出现[普通下载]按钮

4.用户点击[普通下载]按钮开始下载

5.没有破解VIP,网站各种限制还在'; var obj9=document.querySelector("#main-content > div:nth-child(4)"); var obj8=document.querySelector("#page-content > div.row-fluid > div:nth-child(2) > div:nth-child(6)"); var obj7=document.querySelector("#page-content > div > div:nth-child(2) > div:nth-child(2)"); if(obj9!=null) obj9.innerHTML =str1; else if(obj8!=null) obj8.innerHTML =str1; else if(obj7!=null) obj7.innerHTML =str1; if(document.location.href.indexOf('/file-') > 0) { var myVar = setInterval(function(){ var obj1=document.querySelector("#down_link"); document.title=obj1.innerText.substring(7); console.log(console.log(obj1.innerText)); if (obj1.innerHTML.indexOf('下载页面') != -1) { var obj2=document.querySelector("#down_link > a"); obj2.removeAttribute('target'); obj2.click(); clearInterval(myVar); } }, 1000); } else if(document.location.href.indexOf('/down2-') > 0) { var myVar = setInterval(function(){ var obj1=document.querySelector("#down_link > a"); obj1.removeAttribute('target'); console.log(obj1.innerText); obj1.click(); }, 2000); } else if(document.location.href.indexOf('/down-') > 0) { var obj5=document.querySelector("#page-content > div > div > div.pull-right"); if(obj5!=null) obj5.innerHTML ="欢迎试用迅牛专用下载器,支持多个链接排队下载

http://www.xunniufile.com/space_popdog0.html
"; var k=0; var myVar = setInterval(function(){ console.log("down_box"); document.getElementById('down_box').style.display =''; var obj1=document.querySelector("#addr_list > a:nth-child(6)"); console.log(obj1.innerText); var obj3=obj1.getAttribute('onclick'); console.log(obj3); if(obj1!=null && obj1.innerText.indexOf('普通下载') >= 0) { obj1.setAttribute('style','font-size:18px;color:#ff0000;'); var obj2=document.querySelector("body > div.navbar > div > div.container-fluid > a"); obj2.setAttribute('href',obj1.getAttribute('href')); obj2.setAttribute('onclick',obj1.getAttribute('onclick')); clearInterval(myVar); alert("助手提示:点击[普通下载]按钮开始下载"); } else alert("助手提示:发生错误,无法下载。"); }, 1000); } } else if(document.location.href.indexOf('http://www.kufile.net/file/') != -1) { console.log("-----www.kufile.net-----"); var str1='💫 收费网盘助手 💫

1.减少人工操作

2.用户只需要输入验证码

3.没有破解VIP,网站各种限制还在'; var obj9=document.querySelectorAll("div.cright"); if(obj9!=null && obj9.length>0) obj9[0].innerHTML =str1; var obj1=document.querySelector("#ptxz"); var obj3=obj1.getAttribute('onclick'); var p=obj3.indexOf('down'); obj1.setAttribute('onclick','ck_code();'+obj3.substring(p)); obj1.click(); var myVar = setInterval(function(){ var obj1=document.querySelector("#ptxz"); document.title=obj1.innerText; }, 1000); } })();