// ==UserScript== // @name 全网VIP视频免费破解去广告,百度文库下载,一键领取淘宝、天猫、京东、唯品会、拼多多、抖音隐藏优惠券!全网查券!【免费领取淘宝京东618超级红包、外卖红包、出行红包】 // @namespace http://lctnq.yhzu.cn // @version 1.9.1 // @description 1、一键破解[B站|优酷|腾讯|乐视|爱奇艺|芒果|音悦台]等VIP视频;2、查询商家设置的隐藏优惠券,省钱开心购物,直接领取优惠券购买;3、百度文库解析下载功能。接口不好用了请反馈给我记录更新(QQ群:585709991)。 // @author LOVEFFF // @match *://wenku.baidu.com/view/* // @match *://*.iqiyi.com/* // @match *://*.youku.com/* // @match *://*.v.qq.com/* // @match *://*.bilibili.com/* // @match *://*.tudou.com/* // @match *://film.sohu.com/* // @match *://*.mgtv.com/* // @match *://*.acfun.cn/v/* // @match *://*.56.com/* // @match *://*.pptv.com/* // @match *://*.le.com/* // @match *://*.letv.com/* // @match *://tv.sohu.com/* // @match *://vip.1905.com/play/* // @match *://v.yinyuetai.com/video/* // @match *://v.yinyuetai.com/playlist/* // @match *://*.fun.tv/vplay/* // @match *://*.wasu.cn/Play/show/* // @match *://*.kuaizhan.com/* // @require https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js // @antifeature referral-link 【应GreasyFork代码规范要求:含有优惠券查询功能的脚本必须添加此提示!脚本使用过程中无任何强制跳转等行为,代码可查,请大家放心!在此感谢大家的理解...】 // @grant GM_openInTab // @grant GM_xmlhttpRequest // @grant GM_registerMenuCommand // @grant GM_setValue // @grant GM_getValue // @license AGPL // @downloadURL none // ==/UserScript== (function() { GM_registerMenuCommand("首选全网查券地址", function() { window.open("https://4kma.cn/mQ3Fr", "_blank"); }); GM_registerMenuCommand("备用淘宝查券地址", function() { window.open("http://lctnq.yhzu.cn", "_blank"); }); GM_registerMenuCommand("外卖出行生活红包(微信扫一扫)", function() { window.open("https://yijllnji.jutuike.cn/#/?code=YIJLLNji", "_blank"); }); GM_registerMenuCommand("重置地址码", function() { const userInput = prompt('请输入重置地址码:'); if (userInput !== null) { GM_setValue('urlid', userInput); alert("重置地址码,初始化中。。。"); location.reload(); } }); })(); (function () { 'use strict'; let MallID = GM_getValue('urlid'); if (!MallID) { MallID = 'initialValue'; GM_setValue('urlid', 49); alert("首次使用脚本,初始化中。。。"); location.reload(); } var MallUrl = "https://hdkcmsd"+MallID+".kuaizhan.com/?cid=AqHBB6m#/" var TBCoupon = MallUrl+"search?keyword="; var JDCoupon = MallUrl+"detail?platform=2&super=1&id=" var VipCoupon = MallUrl+"detail?platform=5&itemid=" var TBSearch = MallUrl+"search?keyword="; var JDSearch = MallUrl+"search?pt=2&keyword=" var VipSearch = MallUrl+"search?pt=5&keyword=" var NewAct = "https://m.tb.cn/h.gW0drSf"; var Clabel = "领取商品优惠券"; var AllSearch = "全网搜索"; var Rlabel = "淘宝618超级红包"; var WMPacket = "https://yijllnji.jutuike.cn/#/?code=YIJLLNji"; var VQPacket = "https://kurl03.cn/6ysaN"; var WMlabel = "外卖出行生活红包"; var VQlabel = "京淘活动线报群"; var WMtitle = "外卖出行生活红包(微信扫一扫)"; var VQtitle = "京淘活动线报群"; var TBPacket = "https://m.tb.cn/h.gW0drSf"; var JDPacket = "https://u.jd.com/k8g6L5M"; var VipPacket = "https://t.vip.com/T5da9biJZ3A"; var TBlabel = "淘宝618超级红包"; var JDlabel = "京东618超级红包"; var Viplabel = "唯品会红包"; var TBtitle = "每天可拆1次,5月20日-6月10日"; var JDtitle = "每天可拆3次,5月28日-6月18日"; var Viptitle = "每天可拆1次,1月17日-1月31日"; var ButtonSwitch = 1; $(document).ready(function () { var host = window.location.host; var pid = ''; var pname = ''; var cssSelector = '.Actions--root--hwEujgc'; pid = location.href; if (host.indexOf('taobao.com') > 0) { pid = pid.split("id=")[1]; pid = pid.split("&")[0]; setTimeout(function(){pname = document.title;pname = pname.split("-淘宝网")[0];pid=pname;},1000); //pname = $.trim($('.tb-main-title').text()); //pid=pname; //cssSelector = '.tb-action'; } else if (host == 'chaoshi.detail.tmall.com') { pid = pid.split("id=")[1]; pid = pid.split("&")[0]; setTimeout(function(){pname = document.title;pname = pname.split("-tmall.com天猫")[0]; pid=pname;},1000); } else if (host.indexOf('tmall.hk') > 0) { pid = pid.split("id=")[1]; pid = pid.split("&")[0]; setTimeout(function(){pname = document.title;pname = pname.split("-tmall.com天猫")[0]; pid=pname;},1000); } else if (host.indexOf('tmall.com') > 0) { pid = pid.split("id=")[1]; pid = pid.split("&")[0]; setTimeout(function(){pname = document.title;pname = pname.split("-tmall.com天猫")[0]; pid=pname;},1000); } else if (host.indexOf('jd.com') > 0) { pid = window.location.pathname; pid = pid.split("/")[1]; pid = pid.split(".html")[0]; pname = $.trim($('.sku-name').text()); cssSelector = '#choose-btns'; }else if(host.indexOf('kuaizhan.com') > 0){ var urlinvalid = $.trim($('.warn-label-c').text()); if(urlinvalid=="域名不存在"){ MallID++ ; GM_setValue("urlid", MallID); alert("地址码已更新为:" + MallID + ",请关闭窗口,并刷新来源页。\n如地址码有误,请在油猴菜单重置地址码。"); } }else if (host.indexOf('vip.com') > 0) { function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle(` .comparePricess { display: block; margin-top: 6px; font-size: 16px; color: #fff; text-align: center; }`); pid = window.location.pathname; pid = pid.split("-")[2]; pid = pid.split(".html")[0]; cssSelector = 'div#J_detail_buy'; setTimeout(() => { pname = document.getElementsByTagName('title')[0].innerHTML; $(cssSelector).after(obtainAppendHtml(host,pid,pname)); }, 2000); }else if(host == 'wenku.baidu.com'){ $("head").append (''); var content = document.getElementById('reader-container-inner-1'); var wenkuLink = location.href; let divEle = document.getElementById('hqdiv'); if(!divEle){ var para = document.createElement("div"); para.innerHTML = '
'; document.body.appendChild(para); $("#hqdiv").append('