免费下载收费文档的油猴脚本
油猴脚本是一款免费的浏览器扩展,它可以帮助用户免费下载收费文档。油猴脚本的原理是利用各大网站文档的公开接口,绕过付费限制,直接下载文档。例如,对于百度文库、豆丁网等网站,油猴脚本可以自动填写验证码并下载文档。此外,油猴脚本还可以实现一些其他功能,如去广告、破解VIP视频等。总之,油猴脚本是一款非常实用的浏览器扩展,可以帮助用户节省时间和金钱。如果您需要下载收费文档,不妨试试油猴脚本。
//==UserScript==//[url=home.php?mod=space&uid=170990]@name[/url]范文网绕过收费下载文档免费下载文档//[url=home.php?mod=space&uid=467642]@namespace[/url]第一范文网1.1//[url=home.php?mod=space&uid=1248337]@version[/url]1.6//@description绕过收费,支持网站:www.diyifanwen.com、www.77cn.com.cn、www.fanwenwang.com、www.cnfla.com、fanwen.chazidian.com、www.liuxue86.com//[url=home.php?mod=space&uid=686208]@AuThor[/url]LZJ//[url=home.php?mod=space&uid=195849]@match[/url]*www.77cn.com.cn/*//@match*s.diyifanwen.com/down/down.asp?url=*//[url=home.php?mod=space&uid=609072]@grant[/url]none//@licenseMIT//==/UserScript==(function(){if(window.location.host=='www.77cn.com.cn'){letpattern=/(\d+)/ig;//定义正则表达式leturl=window.location.pathnamedocument.getElementsByClassName("word-pic")[0].children[0].href='https://www.77cn.com.cn/plus/word.php?id='+url.match(pattern)[0]document.getElementsByClassName("word-pic")[1].children[0].href='https://www.77cn.com.cn/plus/word.php?id='+url.match(pattern)[0]}if(window.location.host=='s.diyifanwen.com'){$.cookie(cookiename,cookievalue,{expires:expires,path:'/',domain:'diyifanwen.com'});$('.webchat-dyfw').hide();if(document.body.id=='downdoc'){$.removeCookie('downfile',{path:'/',domain:'diyifanwen.com'});}elseif($.cookie('down-guoxue-file')!=undefined){document.location=$.cookie('down-guoxue-file');$.removeCookie('down-guoxue-file',{path:'/',domain:'diyifanwen.com'});}else{alert('验证成功,请进行复制');}}if(window.location.host=='www.fanwenwang.com'||window.location.host=='www.cnfla.com'){leturl=window.location.pathnameif(url=="/dldoc/index.html"){document.getElementsByClassName("download_card_btn")[0].setAttribute('onclick','exportHTML()');}}if(window.location.host=='fanwen.chazidian.com'){document.getElementsByClassName("downBtn")[1].innerHTML="破解成功,点击直接下载"console.log("123")exportHTML=function(){//文章下载if(window.location.host=='mini.yyrtv.com'){varartNode=$(".article");varfileName=$('.articleh1').text().replace(/\s+/g,"");}else{varartNode=$("#app.articleGroup");varfileName=$('#app.articleGroup.tit').text().replace(/\s+/g,"");}varnewNode=artNode.clone(true);$(newNode).wordExport(fileName);if($('.popdiv').length==0){//window.popup();}else{$('.popdiv').css('display','flex');}}document.getElementsByClassName("downBtn")[1].setAttribute('onclick','exportHTML()');document.getElementsByClassName("downBtn")[0].setAttribute('onclick','exportHTML()');}if(window.location.host=='www.liuxue86.com'){exportHTML=function(){varurl=window.location.href.replace("www","m");location.href="//extra.liuxue86.com/doc.php?title="+$("h1a").html()+"&referrer="+encodeURI(url.split("?")[0])}document.getElementsByClassName("nav_down_ll")[0].setAttribute('onclick','exportHTML()');}})();