// ==UserScript== // @name 腾讯视频、爱奇艺、优酷、芒果TV、乐视、PPTV、Bilibili解锁大会员、A站B站视频下载等几乎全网VIP会员视频解析脚本,持续完善更新 // @namespace https://0xf.cc // @version 1.0.1 // @description VIP视频解析脚本,涵盖绝大多数视频网站,基于现有脚本修改,会持续更新接口等 // @antifeature 微信公众号推广 // @author 0xfcc // @icon data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTkzOC42NjcgNTEyLjIxM2MwIDIzNS4wNTEtMTkxLjQ4OCA0MjYuNDU0LTQyNi42NjcgNDI2LjQ1NFM4NS4zMzMgNzQ3LjI2NCA4NS4zMzMgNTEyLjIxM2MwLTIzNS40NzcgMTkxLjQ4OC00MjYuODggNDI2LjY2Ny00MjYuODhzNDI2LjY2NyAxOTEuNDAzIDQyNi42NjcgNDI2Ljg4eiIgZmlsbD0iIzllYzRmNCIgb3BhY2l0eT0iLjkiLz48cGF0aCBkPSJNNjgyLjY2NyA1MTIuMjEzYzAgMTAuNzk1LTMuNDE0IDIxLjU5LTEwLjE5OCAzMC4yOTQtMS4yOCAxLjcwNi03LjIxIDguNzA0LTExLjg2MSAxMy4yMjZsLTIuNTYgMi41MThjLTM1LjYyNyAzNy43Ni0xMjQuMjg4IDk0LjU5Mi0xNjkuMjU5IDExMi44MSAwIC40MjctMjYuNzUyIDExLjIyMi0zOS40NjYgMTEuNjA2aC0xLjcwN2MtMTkuNDk5IDAtMzcuNzE3LTEwLjc1Mi00Ny4wNjEtMjguMTYtNS4xMi05LjYtOS43NzEtMzcuMzc2LTEwLjE5OC0zNy43Ni0zLjg0LTI0LjkxOC02LjM1Ny02My4wNjItNi4zNTctMTA0Ljk2IDAtNDMuOTQ3IDIuNTYtODMuNzU1IDcuMjEtMTA4LjI0NiAwLS40MjYgNC42OTQtMjIuODI2IDcuNjM4LTMwLjI5MyA0LjY5My0xMC43MSAxMy4xNDEtMTkuODgzIDIzLjc2NS0yNS42ODUgOC40OTEtNC4wOTYgMTcuNDA4LTYuMjMgMjYuNzEtNi4yMyA5Ljc3LjQyNyAyNy45ODkgNi42NTYgMzUuMiA5LjU1OCA0Ny41MyAxOC4yMTggMTM4LjMyNSA3Ny45NTIgMTczLjA5OCAxMTQuNDMyIDUuOTc0IDUuODAyIDEyLjMzMSAxMi45MjggMTQuMDM4IDE0LjUwNiA3LjE2OCA5LjEzMSAxMS4wMDggMjAuMzUyIDExLjAwOCAzMi4zODR6IiBmaWxsPSIjMGE4ZGZkIi8+PC9zdmc+ // @require https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js // @match *://xbeibeix.com/api/bilibili* // @match *://v.qq.com/x/cover/* // @match *://v.qq.com/x/page/* // @match *://www.iqiyi.com/v* // @match *://www.iqiyi.com/* // @match *://www.iqiyi.com/kszt/* // @match *://v.youku.com/v_show/* // @match *://w.mgtv.com/b/* // @match *://www.mgtv.com/b/* // @match *://tv.sohu.com/v/* // @match *://film.sohu.com/album/* // @match *://www.le.com/ptv/vplay/* // @match *://v.pptv.com/show/* // @match *://vip.pptv.com/show/* // @match *://www.acfun.cn/v/* // @match *://www.bilibili.com/video/* // @match *://www.bilibili.com/anime/* // @match *://www.bilibili.com/bangumi/play/* // @match *://vip.1905.com/play/* // @match *://www.wasu.cn/Play/show/* // @license GPL License // @grant unsafeWindow // @grant GM_openInTab // @grant GM.openInTab // @grant GM_xmlhttpRequest // @grant GM.xmlHttpRequest // @grant GM_registerMenuCommand // @downloadURL none // ==/UserScript== (function () { "use strict"; let $ = window.$ || $; let host = location.host; let localurl = location.href; function innerParse(url) { $("#iframe-player").attr("src", url); } // function GMopenInTab(url, open_in_background) { // if (typeof GM_openInTab === "function") { // GM_openInTab(url, open_in_background); // } else { // GM.openInTab(url, open_in_background); // } // } let GMaddStyle = (css) => { let myStyle = document.createElement("style"); myStyle.textContent = css; let doc = document.head || document.documentElement; doc.appendChild(myStyle); }; let node = ""; let player_nodes = [ { url: "v.qq.com", node: "#mod_player" }, { url: "www.iqiyi.com", node: "#flashbox" }, { url: "v.youku.com", node: "#player" }, { url: "w.mgtv.com", node: "#mgtv-player-wrap" }, { url: "www.mgtv.com", node: "#mgtv-player-wrap" }, { url: "tv.sohu.com", node: "#player" }, { url: "film.sohu.com", node: "#playerWrap" }, { url: "www.le.com", node: "#le_playbox" }, { url: "video.tudou.com", node: ".td-playbox" }, { url: "v.pptv.com", node: "#pptv_playpage_box" }, { url: "vip.pptv.com", node: ".w-video" }, { url: "www.wasu.cn", node: "#flashContent" }, { url: "www.acfun.cn", node: "#player" }, { url: "www.bilibili.com", node: "#player_module" }, { url: "vip.1905.com", node: "#player" }, ]; for (let i in player_nodes) { if (player_nodes[i].url == host) { node = player_nodes[i].node; } } let videoPlayer = $( "
" ); GMaddStyle( `body #sideBtn { position: fixed; left: 0; top: 30%; width: 50px; height: 50px; -webkit-transform: translateX(-30%); transform: translateX(-30%); -webkit-transition: 0.3s all ease-in-out; transition: 0.3s all ease-in-out; cursor: pointer; z-index: 9999; } body #sideBtn svg { height: 100%; width: 100%; } body #sideBtn:hover { -webkit-transform: translateX(0) scale(1.15); transform: translateX(0) scale(1.15); } body #videoToolBox ::-webkit-scrollbar { width: 3px; } body #videoToolBox ::-webkit-scrollbar-track { background-color: rgba(255, 255, 255, 0); } body #videoToolBox ::-webkit-scrollbar-thumb { background-color: rgba(117, 117, 117, 0.5); } body #videoToolBox .container { z-index: 9999; -webkit-box-sizing: border-box; box-sizing: border-box; position: fixed; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); max-width: 720px; width: 90%; max-height: 85%; border-radius: 20px; background-color: rgba(250, 250, 250, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; -webkit-box-shadow: 0px 2px 9px 3px #8d8d8d66; box-shadow: 0px 2px 9px 3px #8d8d8d66; padding: 25px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-transition: 0.5s all ease-in-out; transition: 0.5s all ease-in-out; } body #videoToolBox .container .close { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; cursor: pointer; z-index: 10000; } body #videoToolBox .container .close svg { width: 100%; height: 100%; } body #videoToolBox .container .tabs { position: relative; padding: 0px 50px 20px 50px; top: 0; left: 0; font-size: 15px; } body #videoToolBox .container .tabs ul { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; position: relative; color: #464646; font-weight: 600; } body #videoToolBox .container .tabs ul li { list-style: none; background-color: #f3f3f3; padding: 10px 20px; border-radius: 9px; cursor: pointer; -webkit-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; } body #videoToolBox .container .tabs ul li:hover { background-color: #e2e2e2; } body #videoToolBox .container .tabs ul .active { color: white; background-color: #0a8dfd !important; -webkit-box-shadow: 2px 2px 7px 1px #0a8dfd99; box-shadow: 2px 2px 7px 1px #0a8dfd99; } body #videoToolBox .container .types { width: 100%; min-height: 300px; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; overflow-y: scroll; } body #videoToolBox .container .types .part .partTitle { color: #000; font-weight: 600; font-size: 20px; padding-bottom: 10px; } body #videoToolBox .container .types .part ul { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; font-size: 15px; padding-bottom: 5px; } body #videoToolBox .container .types .part ul li { list-style: none; padding: 5px 9px; background-color: #dbdbdb; margin: 0 6px 6px 0; border-radius: 6px; color: #000; -webkit-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; cursor: pointer; } body #videoToolBox .container .types .part ul li a { text-decoration: none; color: #000; } body #videoToolBox .container .types .part ul li:hover { color: #fff; background-color: #0a8dfd; } body #videoToolBox .container .types .part ul li:hover a { color: #fff; } body #videoToolBox .container .types .more .about { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } body #videoToolBox .container .types .more .about .title { font-size: 20px; margin-bottom: 15px; } body #videoToolBox .container .types .more .about .title strong { color: #ffb74a; } body #videoToolBox .container .types .more .about .content .qr { float: left; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; margin-right: 10px; } body #videoToolBox .container .types .more .about .content .qr img { width: 200px; height: 200px; margin-bottom: 5px; } body #videoToolBox .container .types .more .about .content .qr p { text-align: center; font-size: 13px; color: #fff; font-weight: 600; background-color: #ffb74a; padding: 2px 0; border-radius: 5px; } body #videoToolBox .container .types .more .about .content .info p { font-size: 17px; line-height: 25px; padding-bottom: 5px; } body #videoToolBox .container .types .more .about .content .thanks { color: #757575; clear: both; font-size: 15px; text-align: center; margin-top: 20px; } body #videoToolBox .container .types .more .about .content .thanks a { text-decoration: none; color: #0a8dfd; }` ); let html = $( `
` ); $("body").append(html); $("#sideBtn").click(() => { $("#videoToolBox").css("display") == "none" ? $("#videoToolBox").show() : $("#videoToolBox").hide(); }); $("#videoToolBox .container .close").click(() => { $("#videoToolBox").hide(); }); $(".tabs ul li").click(function () { $(".tabs ul li") .eq($(this).index()) .addClass("active") .siblings() .removeClass("active"); $(".types > div").eq($(this).index()).show().siblings().hide(); }); let channel = [ { type: 0, name: "CCTV-1", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv1hd", }, { type: 0, name: "CCTV-2", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv2hd", }, { type: 0, name: "CCTV-3", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv3hd", }, { type: 0, name: "CCTV-4", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv4hd", }, { type: 0, name: "CCTV-5", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv5hd", }, { type: 0, name: "CCTV-6", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv6hd", }, { type: 0, name: "CCTV-7", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv7hd", }, { type: 0, name: "CCTV-8", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv8hd", }, { type: 0, name: "CCTV-9", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv9hd", }, { type: 0, name: "CCTV-10", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv10hd", }, { type: 0, name: "CCTV-12", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv12hd", }, { type: 0, name: "CCTV-14", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv14hd", }, { type: 0, name: "CCTV-17", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv17hd", }, { type: 0, name: "北京卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=btv1hd", }, { type: 0, name: "北京文艺", url: "http://ivi.bupt.edu.cn/player.html?channel=btv2hd", }, { type: 0, name: "北京影视", url: "http://ivi.bupt.edu.cn/player.html?channel=btv4hd", }, { type: 0, name: "北京新闻", url: "http://ivi.bupt.edu.cn/player.html?channel=btv9hd", }, { type: 0, name: "北京冬奥", url: "http://ivi.bupt.edu.cn/player.html?channel=btv11hd", }, { type: 0, name: "湖南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hunanhd", }, { type: 0, name: "浙江卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=zjhd", }, { type: 0, name: "江苏卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jshd", }, { type: 0, name: "东方卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=dfhd", }, { type: 0, name: "安徽卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=ahhd", }, { type: 0, name: "黑龙江卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hljhd", }, { type: 0, name: "辽宁卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=lnhd", }, { type: 0, name: "深圳卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=szhd", }, { type: 0, name: "广东卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gdhd", }, { type: 0, name: "天津卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=tjhd", }, { type: 0, name: "湖北卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hbhd", }, { type: 0, name: "山东卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sdhd", }, { type: 0, name: "重庆卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=cqhd", }, { type: 0, name: "福建东南", url: "http://ivi.bupt.edu.cn/player.html?channel=dnhd", }, { type: 0, name: "四川卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=schd", }, { type: 0, name: "河北卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hbhd", }, { type: 0, name: "江西卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jxhd", }, { type: 0, name: "河南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hnhd", }, { type: 0, name: "广西卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gxhd", }, { type: 0, name: "吉林卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jlhd", }, { type: 0, name: "海南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=lyhd", }, { type: 0, name: "贵州卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gzhd", }, { type: 1, name: "CCTV-1综合", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv1", }, { type: 1, name: "CCTV-2财经", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv2", }, { type: 1, name: "CCTV-3综艺", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv3", }, { type: 1, name: "CCTV-4国际", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv4", }, { type: 1, name: "CCTV-6电影", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv6", }, { type: 1, name: "CCTV-7军事", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv7", }, { type: 1, name: "CCTV-8电视剧", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv8", }, { type: 1, name: "CCTV-9纪录", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv9", }, { type: 1, name: "CCTV-10科教", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv10", }, { type: 1, name: "CCTV-11戏曲", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv11", }, { type: 1, name: "CCTV-12社会", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv12", }, { type: 1, name: "CCTV-13新闻", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv13", }, { type: 1, name: "CCTV-14少儿", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv14", }, { type: 1, name: "CCTV-15音乐", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv15", }, { type: 1, name: "CGTN", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv16", }, { type: 1, name: "CCTV-17农业", url: "http://ivi.bupt.edu.cn/player.html?channel=cctv17", }, { type: 1, name: "北京卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=btv1", }, { type: 1, name: "北京文艺", url: "http://ivi.bupt.edu.cn/player.html?channel=btv2", }, { type: 1, name: "北京科教", url: "http://ivi.bupt.edu.cn/player.html?channel=btv3", }, { type: 1, name: "北京影视", url: "http://ivi.bupt.edu.cn/player.html?channel=btv4", }, { type: 1, name: "北京财经", url: "http://ivi.bupt.edu.cn/player.html?channel=btv5", }, { type: 1, name: "北京生活", url: "http://ivi.bupt.edu.cn/player.html?channel=btv7", }, { type: 1, name: "北京青年", url: "http://ivi.bupt.edu.cn/player.html?channel=btv8", }, { type: 1, name: "北京新闻", url: "http://ivi.bupt.edu.cn/player.html?channel=btv9", }, { type: 1, name: "北京卡酷少儿", url: "http://ivi.bupt.edu.cn/player.html?channel=btv10", }, { type: 1, name: "北京冬奥纪实", url: "http://ivi.bupt.edu.cn/player.html?channel=btv11", }, { type: 1, name: "浙江卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=zjtv", }, { type: 1, name: "湖南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hunantv", }, { type: 1, name: "江苏卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jstv", }, { type: 1, name: "东方卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=dftv", }, { type: 1, name: "深圳卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sztv", }, { type: 1, name: "安徽卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=ahtv", }, { type: 1, name: "河南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hntv", }, { type: 1, name: "陕西卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sxtv", }, { type: 1, name: "吉林卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jltv", }, { type: 1, name: "广东卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gdtv", }, { type: 1, name: "山东卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sdtv", }, { type: 1, name: "湖北卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hbtv", }, { type: 1, name: "河北卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hebtv", }, { type: 1, name: "西藏卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=xztv", }, { type: 1, name: "内蒙古卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=nmtv", }, { type: 1, name: "青海卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=qhtv", }, { type: 1, name: "四川卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sctv", }, { type: 1, name: "天津卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=tjtv", }, { type: 1, name: "山西卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sxrtv", }, { type: 1, name: "辽宁卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=lntv", }, { type: 1, name: "厦门卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=xmtv", }, { type: 1, name: "新疆卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=xjtv", }, { type: 1, name: "黑龙江卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=hljtv", }, { type: 1, name: "云南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=yntv", }, { type: 1, name: "江西卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=jxtv", }, { type: 1, name: "福建东南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=dntv", }, { type: 1, name: "贵州卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gztv", }, { type: 1, name: "宁夏卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=nxtv", }, { type: 1, name: "甘肃卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=gstv", }, { type: 1, name: "重庆卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=cqtv", }, { type: 1, name: "兵团卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=bttv", }, { type: 1, name: "延边卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=ybtv", }, { type: 1, name: "三沙卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=sstv", }, { type: 1, name: "海南卫视", url: "http://ivi.bupt.edu.cn/player.html?channel=lytv", }, { type: 1, name: "山东教育", url: "http://ivi.bupt.edu.cn/player.html?channel=sdetv", }, { type: 1, name: "CETV-1", url: "http://ivi.bupt.edu.cn/player.html?channel=cetv1", }, { type: 1, name: "CETV-3", url: "http://ivi.bupt.edu.cn/player.html?channel=cetv3", }, { type: 1, name: "CETV-4", url: "http://ivi.bupt.edu.cn/player.html?channel=cetv4", }, ]; for (let item of channel) { item.type ? $(".onlineTv .part.sd ul").append( `
  • ${item.name}
  • ` ) : $(".onlineTv .part.hd ul").append( `
  • ${item.name}
  • ` ); } for (let item of $(".onlineTv .part ul li")) { item.addEventListener("click", () => { $("#videoToolBox").hide(); }); } let interfaceList = [ { name: "纯净线路", url: "https://z1.m1907.cn/?jx=" }, { name: "B站", url: "https://vip.parwix.com:4433/player/?url=" }, { name: "B站2", url: "https://jx.yingxiangbao.cn/vip.php?url=" }, { name: "B站3", url: "https://vip.52jiexi.top/?url=" }, { name: "B站4", url: "https://jx.yparse.com/index.php?url=" }, { name: "B站5", url: "https://jx.116kan.com/?url=" }, { name: "B站7", url: "https://www.cuan.la/m3u8.php?url=" }, { name: "bl解析", url: "https://vip.bljiex.com/?v=" }, { name: "冰豆", url: "https://api.bingdou.net/?url=" }, { name: "八八", url: "https://vip.88jiexi.com/?url=" }, { name: "爸比云", url: "http://jx.1ff1.cn/?url=" }, { name: "百域", url: "https://jx.618g.com/?url=" }, { name: "clouse6", url: "http://jx.clousx6.cn/player/?url=" }, { name: "ckmov", url: "https://www.ckmov.vip/api.php?url=" }, { name: "大幕", url: "https://jx.52damu.com/dmjx/jiexi.php?url=" }, { name: "二度1", url: "https://jx.du2.cc/?url=" }, { name: "二度2", url: "http://jx.drgxj.com/?url=" }, { name: "福星", url: "https://jx.popo520.cn/jiexi/?url=" }, { name: "跟剧", url: "https://www.5igen.com/dmplayer/player/?url=" }, { name: "ha12", url: "https://py.ha12.xyz/sos/index.php?url=" }, { name: "Hk", url: "https://jx.rdhk.net/?v=" }, { name: "H8", url: "https://www.h8jx.com/jiexi.php?url=" }, { name: "豪华啦", url: "https://api.lhh.la/vip/?url=" }, { name: "黑米", url: "https://www.myxin.top/jx/api/?url=" }, { name: "黑云", url: "https://jiexi.380k.com/?url=" }, { name: "蝴蝶", url: "https://api.hdworking.top/?url=" }, { name: "IDC", url: "https://jx.idc126.net/jx/?url=" }, { name: "IK解析", url: "https://vip.ikjiexi.top/?url=" }, { name: "久播(明日)", url: "https://jx.jiubojx.com/vip.php?url=" }, { name: "九八看", url: "https://jx.youyitv.com/?url=" }, { name: "凉城", url: "https://jx.mw0.cc/?url=" }, { name: "蓝影", url: "http://huiwanka.xyz/jx/?url=" }, { name: "流氓凡", url: "https://jx.wslmf.com/?url=" }, { name: "m3u8", url: "https://jx.m3u8.tv/jiexi/?url=" }, { name: "m3u8tv", url: "https://jiexi.janan.net/jiexi/?url=" }, { name: "Mao", url: "https://titan.mgtv.com.kunlanys.com/m3u8.php?url=" }, { name: "磨菇", url: "https://jx.wzslw.cn/?url=" }, { name: "诺诺", url: "https://www.ckmov.com/?url=" }, { name: "诺讯", url: "https://www.nxflv.com/?url=" }, { name: "OK", url: "https://okjx.cc/?url=" }, { name: "千忆", url: "https://v.qianyicp.com/v.php?url=" }, { name: "千叶", url: "https://yi29f.cn/vip.php?url=" }, { name: "思云", url: "https://jx.ap2p.cn/?url=" }, { name: "思古1", url: "https://api.sigujx.com/?url=" }, { name: "思古2", url: "https://jx.quanmingjiexi.com/?url=" }, { name: "思古3", url: "https://api.bbbbbb.me/jx/?url=" }, { name: "思古4", url: "https://jsap.attakids.com/?url=" }, { name: "tv920", url: "https://api.tv920.com/vip/?url=" }, { name: "通用", url: "https://jx.598110.com/index.php?url=" }, { name: "维多", url: "https://jx.ivito.cn/?url=" }, { name: "无名", url: "https://www.administratorw.com/video.php?url=" }, { name: "xx", url: "https://chkkk.top/jiexi/ys?url=" }, { name: "小蒋极致", url: "https://www.kpezp.cn/jlexi.php?url=" }, { name: "小狼", url: "https://jx.yaohuaxuan.com/?url=" }, { name: "新线路", url: "https://vip.kurumit3.top/?v=" }, { name: "星驰", url: "https://vip.cjys.top/?url=" }, { name: "星空", url: "https://jx.fo97.cn/?url=" }, { name: "云端", url: "https://jx.ergan.top/?url=" }, { name: "17云", url: "https://www.1717yun.com/jx/ty.php?url=" }, { name: "33t", url: "https://www.33tn.cn/?url=" }, { name: "41", url: "https://jx.f41.cc/?url=" }, { name: "180", url: "https://jx.000180.top/jx/?url=" }, { name: "200", url: "https://vip.66parse.club/?url=" }, { name: "973", url: "https://jx.973973.xyz/?url=" }, { name: "8090", url: "https://www.8090g.cn/?url=" }, { name: "41478", url: "https://www.41478.net/?url=" }, ]; for (let item of interfaceList) { $(".interface .part.embed ul").append(`
  • ${item.name}
  • `); } $(".interface .part.embed ul li").each((index, item) => { item.addEventListener("click", () => { if (document.getElementById("iframe-player") == null) { let player = $(node); player.empty(); player.append(videoPlayer); } innerParse(interfaceList[index].url + location.href); $("#videoToolBox").hide(); }); }); // $(".interface .part.external ul li").each((index, item) => { // item.addEventListener("click", () => { // GMopenInTab(parseInterface[index].url + location.href, false); // $("#videoToolBox").hide(); // }); // }); // ----------------------- let acfun = () => { let ele, content = "", videolist = []; videolist = JSON.parse(videoInfo.currentVideoInfo.ksPlayJson) .adaptationSet[0].representation; if (videolist.length > 0 && $("div#dlList").length == 0) { for (let item of videolist) { content += `
  • ${item.qualityLabel}
  • `; } ele = `
    视频下载
    `; } $("h1.title").after(ele); $("#dlList ul li").click(function () { let value = $("#dlList .acdlLink")[$(this).index()]; value.select(); document.execCommand("copy"); }); }; let bilibili = () => { let ele; ele = ``; setTimeout(() => { $("#arc_toolbar_report .ops").append(ele); $("#dlbtn").click(function () { let patt1 = new RegExp("(BV|av)[a-zA-Z0-9]*"); let bvid = patt1.exec(window.location.href); let tempwindow = window.open("_blank"); tempwindow.location = "https://xbeibeix.com/api/bilibili/?monkey=" + bvid[0]; }); }, 4500); }; let reg_bili = /www.bilibili.com\/video.*/; let reg_acfun = /www.acfun.cn\/v\/.*/; window.onload = function () { if (reg_bili.test(localurl)) { bilibili(); } else if (reg_acfun.test(localurl)) { acfun(); } }; switch (host) { case "www.iqiyi.com": //-------------------------------------------------------------------------------- unsafeWindow.rate = 0; unsafeWindow.Date.now = () => { return new unsafeWindow.Date().getTime() + (unsafeWindow.rate += 1000); }; setInterval(() => { unsafeWindow.rate = 0; }, 600000); //-------------------------------------------------------------------------------- setInterval(() => { if (document.getElementsByClassName("cupid-public-time")[0] != null) { $(".skippable-after").css("display", "block"); document.getElementsByClassName("skippable-after")[0].click(); } $(".qy-player-vippay-popup").css("display", "none"); $(".black-screen").css("display", "none"); }, 500); break; case "v.qq.com": //-------------------------------------------------------------------------------- setInterval(() => { //视频广告加速 $(".txp_ad").find("txpdiv").find("video")[0].currentTime = 1000; $(".txp_ad").find("txpdiv").find("video")[1].currentTime = 1000; }, 1000); //-------------------------------------------------------------------------------- setInterval(() => { let txp_btn_volume = $(".txp_btn_volume"); if (txp_btn_volume.attr("data-status") === "mute") { $(".txp_popup_volume").css("display", "block"); txp_btn_volume.click(); $(".txp_popup_volume").css("display", "none"); } //$("txpdiv[data-role='hd-ad-adapter-adlayer']").attr("class", "txp_none"); $(".mod_vip_popup").css("display", "none"); $(".tvip_layer").css("display", "none"); $("#mask_layer").css("display", "none"); }, 500); break; case "v.youku.com": //-------------------------------------------------------------------------------- window.onload = function () { if (!document.querySelectorAll("video")[0]) { setInterval(() => { document.querySelectorAll("video")[1].playbackRate = 16; }, 100); } }; //-------------------------------------------------------------------------------- setInterval(() => { let H5 = $(".h5-ext-layer").find("div"); if (H5.length != 0) { $(".h5-ext-layer div").remove(); let control_btn_play = $(".control-left-grid .control-play-icon"); if (control_btn_play.attr("data-tip") === "播放") { $(".h5player-dashboard").css("display", "block"); control_btn_play.click(); $(".h5player-dashboard").css("display", "none"); } } $(".information-tips").css("display", "none"); }, 500); break; case "www.mgtv.com": break; case "tv.sohu.com": setInterval(() => { $(".x-video-adv").css("display", "none"); $(".x-player-mask").css("display", "none"); $("#player_vipTips").css("display", "none"); }, 500); break; case "www.bilibili.com": setInterval(() => { $(".player-limit-mask").remove(); }, 500); break; case "xbeibeix.com": setInterval(() => { $("#boxs").remove(".adsbygoogle"); $("#text-box").remove(); $("#aswift_1_expand").remove(); $(".adsbygoogle").remove(); $("#accordionExample").remove(); $("#text1").remove(); $("#button").remove(); $(".basic-addon1").remove(); $("#text2").remove(); $("#exampleModal").remove(); $(".alert").remove(); $(".button-1").remove(); $(".row").attr("id", "ccc"); $(".clearfix").attr("id", "aaa"); $("#aaa").find("#button-1").attr("id", "bbb"); $("#bbb").css("background-color", "#D0104C"); let con = "请点击解析视频"; $("#bbb").text(con); $("#ccc").remove(); $("#basic").attr("id", "eee"); $("#addon1").attr("id", "ggg"); //$("#basic-addon1").remove(); }, 500); break; } })();