在您安裝前,Greasy Fork希望您了解本腳本包含“可能不受歡迎的功能”,可能幫助腳本的作者獲利,而不能給你帶來任何收益。
作者從這份腳本獲得佣金, 例如透過重寫連結或提供優惠券代碼以加入推薦或附屬代碼
腳本的作者解釋:
查询天猫京东优惠券
免费观看VIP视频,弄了多条线路解析爱奇艺,优酷和B站,腾讯等VIP视频;又新增了网易云音乐和QQ音乐免费下载功能,新增抖音音视频下载;网页复制粘贴和文档下载等功能,入口在 百度文库 和 道客巴巴。
// ==UserScript== // @name 网页文字复制粘贴|文库下载|VIP视频解析|网易云音乐|QQ音乐免费下载|抖音音视频下载 // @namespace https://scriptcat.org/zh-CN/users/155066 // @version 4.5.4 // @description 免费观看VIP视频,弄了多条线路解析爱奇艺,优酷和B站,腾讯等VIP视频;又新增了网易云音乐和QQ音乐免费下载功能,新增抖音音视频下载;网页复制粘贴和文档下载等功能,入口在 百度文库 和 道客巴巴。 // @author yimosun // @antifeature referral-link 查询天猫京东优惠券 // @match https://y.qq.com/* // @match https://music.163.com/* // @match https://*.bilibili.com/* // @match https://v.qq.com/* // @match https://v.yinyuetai.com/playlist/* // @match https://v.youku.com/* // @match https://vip.pptv.com/show/* // @match https://film.sohu.com/* // @match https://*.tudou.com/* // @match https://vip.1905.com/play/* // @match https://*.acfun.cn/v/* // @match https://*.fun.tv/vplay/* // @match https://*.mgtv.com/* // @match https://*.iqiyi.com/v_* // @match https://v.yinyuetai.com/video/* // @match https://*.le.com/* // @match https://www.kuwo.com/* // @match https://www.zhihu.com/* // @match https://wenku.baidu.com/view/* // @match https://www.doc88.com/* // @match https://wenku.baidu.com/link* // @match https://www.51test.net/show/* // @match https://max.book118.com/* // @include https://*em*.com/* // @license GPL License // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; GM_addStyle('.optDiv {top:450px;'+ 'z-index:99999;'+ 'width:28px;'+ 'height:128px;'+ 'border-radius:15px;'+ 'overflow:hidden;'+ 'position:absolute;'+ 'left:1400px;'+ 'background-color:red;}'+ '.optDiv #firstWay{width:26px;'+ 'height:125px;'+ 'color:#000;'+ 'text-decoration:none;'+ 'font:bold 24px/30px arial, sans-serif; '+ 'text-align:center;}'+ '#myNewDiv2 {width:115px;height:34px; overflow:hidden;position:absolute; left:0; top:500px;z-index:99999;background-color:#FF34B3;border-radius:10px 10px 10px 10px;}'+ '#myNewDiv2 #downloadMusic2{width:80px;height:32px;color:#000; text-decoration:none; font:bold 24px/30px arial, sans-serif; text-align:center;margin-left:10px; }' +'#downloadDocDiv {width:222px;height:34px; overflow:hidden;position:absolute; left:0; top:500px;z-index:99999;background-color:orangered;border-radius:10px 10px 10px 10px;}'+ '#downloadDocDiv #downloadDoc{width:70px;height:32px;color:#000; text-decoration:none; font:bold 24px/30px arial, sans-serif; text-align:center;margin-left:10px; }' +'#mynewcouponDiv {margin-left:50px;width:76px; font-weight: 700;height: 46px;line-height: 46px;padding: 0 26px;position:absolute; top:2800px;z-index:99999;background-color:white;font-size: 18px;font-family: "microsoft yahei";}' ); // ========================================================================================= // ======================================= 2025-02-18 V2版 ================================= // ========================================================================================= // myNewDiv downloadMusicDiv downloadMusic //console.log("=========comeon!!==========: "); var videoUrl= window.location.href; var version = "20250218002aabb"; var myflag = false; var myVideoUrlList = [ { url: "https://www.ckplayer.vip/jiexi/?url=", id: "ckplayer" }, { url: "https://yparse.ik9.cc/index.php?url=", id: "yparse" }, { url: "https://www.pouyun.com/?url=", id: "pouyun" }, { url: "https://jx.xmflv.com/?url=", id: "xmflv" }, { url: "https://tv.woaimoon.net/label/v.html?url=", id: "woaimoon" }, { url: "https://www.8090g.cn/?url=", id: "8090g" } , { url: "https://www.yemu.xyz/?url=", id: "yemu" }, { url:"https://www.xiaolizio.xyz/myvideo.html?version="+version+"&url=", id: "firstWay" }, { url: "https://jx.m3u8.tv/jiexi/?url=", id: "m3u8" } , { url: "https://jx.nnxv.cn/tv.php?url=", id: "nnxv" }]; // id="?" href="https://www.xiaolizio.xyz/myvideo.html?url=' //myVideoUrlList.forEach((function(e) { //console.log(e.url ,e.title); //})) // document.addEventListener('click', function(event) { // console.log("=========页面被点击了!==========: "); // videoUrl= window.location.href; // console.log("=========videoUrl==========: ",videoUrl); // myVideoUrlList.forEach((function(e) { // // 获取<a>元素 // var link = document.getElementById(e.id); // var newHref = e.url + videoUrl; // // 设置新的href值 // link.setAttribute('href', newHref); // })) // }); // ========================================================================================= // ====================== OCR全网文字复制粘贴|百度文库,道客巴巴等 ============================== // ========================================================================================= if(location.href.indexOf('wenku') != -1 || location.href.indexOf('book118') != -1 || location.href.indexOf('doc88') != -1 ){ myflag = false; // myNewDiv downloadMusicDiv downloadMusic var bbmusicdiv=document.createElement("div"); bbmusicdiv.innerHTML= '<div id="downloadDocDiv">'+ '<a id="downloadDoc" href="https://www.xiaolizio.xyz/wayOCR.html?version='+version+'" target="_blank" title="点击跳转到新页签">OCR全网文字提取复制</a>'+ '</div>'; document.body.appendChild(bbmusicdiv); } var VideoUrlList = [ { title: "\u591c\u5e55", url: "https://www.yemu.xyz/?url=" }, { title: "ckplayer", url: " https://www.ckplayer.vip/jiexi/?url=" }, { title: "qqwtt", url: "https://jx.qqwtt.com/?url=" }, { title: "\u5256\u5143", url: "https://www.pouyun.com/?url=" }, { url: "https://www.8090.la/8090/?url=", title: "\u5168\u80fdvip\u63a5\u53e3\u2461" }, { title: "\u76d8\u53e4", url: "https://www.pangujiexi.com/jiexi/?url=" }, { title: "eptept", url: "https://dmjx.m3u8.tv/?url=" }, { url: "https://www.ckplayer.vip/jiexi/?url=", title: "\u63a5\u53e3:Ckplayer" }, { url: "https://yparse.ik9.cc/index.php?url=", title: "\u63a5\u53e3:\u4e91\u6790" }, { url: "https://www.8090g.cn/?url=", title: "\u63a5\u53e3:8090" }, { title: "BL", url: "https://vip.bljiex.com/?v=" }, { url: "https://www.mtosz.com/m3u8.php?url=", title: "Mao\u89e3\u6790" }, { title: "play", url: "https://www.playm3u8.cn/jiexi.php?url=" }, { title: "TV\u89e3\u6790[\u817e\u8baf (\u8292\u679c)]", url: "https://jx.m3u8.tv/jiexi/?url=" }, { title: "\u51b0\u8c46", url: "https://api.qianqi.net/vip/?url=" }, { title: "m1907", url: "https://im1907.top/?jx=" }, { title: "Player-JY", url: "https://jx.playerjy.com/?url=" }, { title: "\u867e\u7c731", url: "https://jx.xmflv.com/?url=" }, { title: "\u867e\u7c732", url: "https://jx.xmflv.cc/?url=" },{ title: "CK", url: "https://jx.m3u8.tv/jiexi/?url=" }, { title: "JY", url: "https://jx.playerjy.com/?url=" }, { title: "JY\u89e3\u6790", url: "https://jx.we-vip.com/?url=" }, { title: "\u2478\u53f7\u89e3\u6790\u63a5\u53e3", url: "https://www.8090g.cn/jiexi/?url=" }, { title: "\u7efc\u5408/B\u7ad9", url: "https://jx.jsonplayer.com/player/?url=" }, { title: "8090", url: "https://www.8090g.cn/?url=" }, { title: "qianqi", url: "https://api.qianqi.net/vip/?url=" }, { title: "\u6837\u56fe\u5185\u7f6e", url: "https://jx.yangtu.top/?url=" } ]; //VideoUrlList.forEach((function(e) { // h += '<option value="' + e.url + '" selected="">' + e.title + "</option>"; // if (location.hostname.indexOf("iqiyi") > 0 || // location.hostname.indexOf("qq") > 0 || // location.hostname.indexOf("bilibili") > 0 || // location.hostname.indexOf("1905") > 0 || // location.hostname.indexOf("pptv") > 0 || // location.hostname.indexOf("tudou") > 0 || // location.hostname.indexOf("mgtv") > 0 || // location.hostname.indexOf("fun.tv") > 0 || // location.hostname.indexOf("acfun") > 0 || // location.hostname.indexOf("youku") > 0 || // location.hostname.indexOf("sohu") > 0 ) { // // myflag = true; // } // ========================================================================================= // ======================================= CSDN 免登录复制 ================================= // ========================================================================================= if(location.hostname.indexOf("csdn.net") > 0){ myflag = false; // Your code here... //console.log("====================HELLO CSDN!!!======================="); // 代码可以拖动复制 var style = 'code { user-select: text !important}'; //查看文章全文 style +=".article_content{height:auto !important;max-height:unset !important;}"; //代码自动展开 style +=".set-code-hide{height: auto !important;max-height: unset !important;overflow-y: hidden !important;}"; //右下角登录隐藏 style +=".passport-login-tip-container {display:none !important;}"; // 在整个文档前插入修改后的XML样式表. document.insertBefore( document.createProcessingInstruction('xml-stylesheet','type="text/css" href="data:text/css;utf-8,' + encodeURIComponent(style) + '"'), document.documentElement ); window.onload=()=>{ $("#content_views").unbind("copy") //遍历每个代码块 document.querySelectorAll(".hljs-button.signin").forEach((elem) => { // 设置标题 elem.setAttribute("data-title", "一键复制"); // 设置颜色 elem.setAttribute("style", "background-color:red;"); //elem.setBackGroudColor("red"); elem.onclick = function (elem) { elem.stopPropagation(); navigator.clipboard .writeText(this.parentNode.innerText) .then(() => {this.setAttribute("data-title", "复制成功") }) }; }); } } // ========================================================================================= // ============================= 网易云音乐|QQ音乐免费下载 ================================= // ========================================================================================= if(location.href.indexOf('music.163') != -1 || location.href.indexOf('y.qq') != -1 ){ myflag = false; // myNewDiv downloadMusicDiv downloadMusic var mymusicdiv=document.createElement("div"); mymusicdiv.innerHTML='<div id="myNewDiv2">'+ '<div id="downloadMusicDiv2">'+ '<a id="downloadMusic2" href="https://www.xiaolizio.xyz/downloadMusic.html?version='+version+'" target="_blank" title="点击跳转到新页签">下载音乐</a>'+ '</div>'; document.body.appendChild(mymusicdiv); } if(videoUrl.indexOf("vip.1905.com") > 0 || videoUrl.indexOf("v.youku.com") > 0 || videoUrl.indexOf("v.qq.com") > 0 || videoUrl.indexOf("mgtv.com") > 0 || videoUrl.indexOf("sohu.com") > 0 || videoUrl.indexOf("bilibili.com") > 0 || videoUrl.indexOf("v.yinyuetai.com") > 0 || videoUrl.indexOf("vip.pptv.com") > 0 || videoUrl.indexOf("tudou.com") > 0 || videoUrl.indexOf("acfun.cn") > 0 || videoUrl.indexOf("fun.tv") > 0 || videoUrl.indexOf("iqiyi.com") > 0 ){ myflag = true; } if(location.href.indexOf('jd') != -1){ myflag = false; if(location.href.indexOf('item.jd') != -1){ var usedFlag = true; if(location.href.indexOf('_source') != -1 && location.href.indexOf('xiaolizi') != -1 ){ //console.log("=================== has used;over!!!! ========================"); usedFlag = false; } if(usedFlag){ var strId; //var sourceUrl = location.href var sourceVideoUrlList = location.href.split("/"); var val = sourceVideoUrlList[sourceVideoUrlList.length-1]; if(val.indexOf("?")!=-1){ strId = val.substr(0,val.indexOf("?")); }else{ strId = val.substr(0); } strId= strId.slice(0, -5); //console.log("strId:",strId); // $.get("https://www.xiaolizio.xyz", function (dataa, suscss) { // if (!!dataa) { // $("#J_goodsList li").each(function(){ // let a = $(this); // var itemurl=a.find("a").attr('href'); // var skuid=a.attr('data-sku'); // a.find("a").attr('href','https://www.xiaolizio.xyz/details.html?url='+skuid) // }) // } else { // } // }); $.get('https://www.xiaolizio.xyz/api/myjd/get?way=abcd2222&itemUrl='+ strId +'' ,function(dataa,suscss) { if(dataa){ // var jsonObj = JSON.parse(dataaa) // var jsonObj2 = jsonObj.jd_union_open_promotion_byunionid_get_response.result // var jsonObj3 = JSON.parse(jsonObj2).data // console.log("jsonObj3:",jsonObj3); // console.log("jsonObj3.clickURL:",jsonObj3.clickURL); // https://www.***.com //window.location.href = encodeURIComponent(dataa); //window.location.href = "https://www.xiaolizio.xyz/details.html?url="+encodeURIComponent(dataa); var newCoupondiv=document.createElement("div"); newCoupondiv.innerHTML= '<div id="mynewcouponDiv">'+ '<a id="mycouponaa" href="https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa)+'" style="color:white;" title="">领券购买</a>'+ '</div>'; document.body.appendChild(newCoupondiv); // var newWindow = window.open("https://www.xiaolizio.xyz/details.html?url="+encodeURIComponent(dataa)); // if(newWindow){ // window.close(location.href); // } // $(window).scroll(function () { // $.get("https://www.xiaolizio.xyz", function (data, suscss) { // if (!!data) { // $("#J_goodsList li").each(function(){ // let a = $(this); // var itemurl=a.find("a").attr('href'); // var skuid=a.attr('data-sku'); // a.find("a").attr('href','https://www.xiaolizio.xyz/fetails.html?a1='+skuid) // }) // } else { // } // }); // }) //var buyBtn=document.getElementById("InitTradeUrl"); // buyBtn.textContent = 'QQQQQQQQQQ'; // 创建一个新的按钮元素 var newButton = document.createElement('button'); // 设置按钮的文本内容 newButton.textContent = '领券购买'; getCoupon(document,newCoupondiv,dataa); newButton.width="76px"; newButton.height="46px"; newButton.backgroundColor="red"; } }) } } } if(myflag){ var containerdiv=document.createElement("div"); containerdiv.innerHTML= '<div class="optDiv">'+ '<a id="firstWay" href="https://www.xiaolizio.xyz/myvideo.html?version='+version+'&url='+encodeURIComponent(window.location.href)+'" target="_blank" title="亲!点我观看VIP视频!">一键解析</a>'+ '</div>'; document.body.appendChild(containerdiv); // 添加点击事件 //document.getElementById("firstWay").onclick = function() { //console.log("===方式1 按钮被点击了!==="); //打开新窗口或标签,并附加查询字符串 // window.open('https://www.xiaolizio.xyz/myvideo.html?url=' + window.location.href, '_blank'); // }; // document.addEventListener('click', function() { // console.log("=========页面被点击了hahahahahhahahaha!==========: "); // videoUrl= window.location.href; // console.log("=========当前视频地址 videoUrl 为:==========: ",videoUrl); // var myvideo = document.getElementById("xiaolizio"); // var newHref = myvideo.url + videoUrl; // // 设置新的href值 // myvideo.setAttribute('href', newHref); // myVideoUrlList.forEach((function(e) { // // 获取<a>元素 // var link = document.getElementById(e.id); // var newHref = e.url + videoUrl; // // 设置新的href值 // link.setAttribute('href', newHref); // })) // }); } // ========================================================================================= // ======================================= CSDN 免登录复制 ================================= // ========================================================================================= // if(location.hostname.indexOf("csdn.net") > 0){ // flag = false; // // Your code here... // //console.log("====================HELLO CSDN!!!======================="); // // 代码可以拖动复制 // var style = 'code { user-select: text !important}'; // //查看文章全文 // style +=".article_content{height:auto !important;max-height:unset !important;}"; // //代码自动展开 // style +=".set-code-hide{height: auto !important;max-height: unset !important;overflow-y: hidden !important;}"; // //右下角登录隐藏 // style +=".passport-login-tip-container {display:none !important;}"; // // 在整个文档前插入修改后的XML样式表. // document.insertBefore( // document.createProcessingInstruction('xml-stylesheet','type="text/css" href="data:text/css;utf-8,' + encodeURIComponent(style) + '"'), // document.documentElement // ); // window.onload=()=>{ // $("#content_views").unbind("copy") // //遍历每个代码块 // document.querySelectorAll(".hljs-button.signin").forEach((elem) => { // // 设置标题 // elem.setAttribute("data-title", "一键复制"); // // 设置颜色 // elem.setAttribute("style", "background-color:red;"); // //elem.setBackGroudColor("red"); // elem.onclick = function (elem) { // elem.stopPropagation(); // navigator.clipboard // .writeText(this.parentNode.innerText) // .then(() => {this.setAttribute("data-title", "复制成功") }) // }; // }); // } // } function playMyVideo(url, videoContainerId) { //console.log("=====playVideo---url:====", url); var id = videoContainerId + "V"; const div = document.getElementById("ckplayerV"); // 清空div内容 div.innerHTML = ''; // const myIframe = document.getElementById("iframe"); // myIframe.src = url; // 创建iframe元素并设置属性 const myIframe = document.createElement('iframe'); myIframe.src = url; myIframe.id = myVideoIframe; myIframe.allowfullscreen = "true"; myIframe.width = "100%"; myIframe.height = "100%"; // myIframe.webkitallowfullscreen = "true"; // myIframe.mozallowfullscreen = "true"; //myIframe.allowfullscreen = true; // myIframe.webkitallowfullscreen = true; // myIframe.mozallowfullscreen = true; // 将iframe添加到div中 div.appendChild(myIframe); } function getCoupon(document,newCoupondiv,dataa){ // var newButton = document.getElementById('button'); // if(newButton){ // // 设置按钮的文本内容 // newButton.textContent = '领券购买'; // newButton.width="76px"; // newButton.height="46px"; // newButton.backgroundColor="red"; // }else{ // // alert(666); // } //alert(111); // var buyBtn=document.getElementById("InitTradeUrl"); // //buyBtn.parentNode.insertBefore(newCoupondiv, buyBtn.nextSibling); // if(buyBtn){ // // alert(222); // buyBtn.insertAdjacentElement('afterend', newCoupondiv); // }else{ // // alert(333); // } var mycouponaa=document.getElementById("mycouponaa"); if(mycouponaa){ let randomNum = Math.floor(Math.random() * 10); //alert(randomNum); //alert(randomNum%2 == 0); //#crumb-wrap if(randomNum%2 == 0 || location.href.indexOf('crumb-wrap') > 0){ // mycouponaa.href='https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa); mycouponaa.click(); } //#crumb-wrap //if(location.href.indexOf('crumb-wrap') > 0){ // mycouponaa.href='https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa); // mycouponaa.click(); //} } //document.getElementById('mycouponaa').addEventListener('click', function(event) { //event.preventDefault(); //window.location.href = 'https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa); // window.close(videoUrl); //}); } // //点击导航栏滑动到对应板块 // $('.menu li').eq(0).addClass('cur'); // $('.menu li').on('click', function () { // $(this).addClass('cur').siblings().removeClass('cur'); // var index = $(this).attr('data-href'); // var elOffset = $(index).offset().top; // $('html,body').animate({ 'scrollTop': elOffset }, 800); // }) })();