解析辅助脚本
// ==UserScript==
// @name 解析辅助脚本
// @description 脚本功能目前有:给“解析脚本”添加自定义接口(需要配合jxb解析脚本--才有效果)。
// @description:en 2022-11-01
// @version 1
// @author 江小白
// @include /^https?:\/\/(?:(?:www\.ixigua\.com\/|m\.ixigua\.com\/video\/)\d{10,}(?:\?id=\d{10,}|$)|(?:v(?:-wb)?|m)\.youku\.com\/.+?\/id_|\w+?\.wasu\.c.+?\/[pP]lay\/show\/id\/\d|www\.fun\.tv\/vplay\/g-|m\.fun\.tv\/mplay\/\?mid=|\w+?\.miguvideo\.com\/.+?\/detail\.html\?cid=\d|[^\/]+?\.tudou\.com\/(?:v\/|.+?\/id_)|v\.qq\.com\/(?:x\/(?:cover|page)|.+?\/p\/topic)\/|(?:3g|m)\.v\.qq\.com|w(?:ww)?\.mgtv\.com\/[a-z]\/|www\.mgtv\.com\/act\/|m\.mgtv\.com\/b\/|www\.iqiyi\.com\/(?:[vw]_|kszt\/)|www\.iq\.com\/play\/|m\.iqiyi\.com\/(?:v_|$)|tw\.iqiyi\.com\/v_|tv\.sohu\.com\/v\/|m\.tv\.sohu\.com\/(?:u\/|v|phone_play_film\?aid=)|film\.sohu\.com\/album\/|www\.le\.com\/ptv\/vplay\/|m\.le\.com\/vplay_|[vm]\.pptv\.com\/show\/|(?:[^\/]+?\.)?1905\.com\/(?:m|.*?play)\/|www\.ixigua\.com\/|(?:player|live)\.bilibili\.com\/|www\.bilibili\.com\/(?:(?:cheese|bangumi)\/play|blackboard|.*?video)\/|m\.bilibili\.com\/bangumi\/play\/|www\.acfun\.cn\/(?:.+?\/ac|bangumi\/)|m\.acfun\.cn\/v\/|.+?(?:\.m(?:3u8|p4)\?\w+?=|(?:search|jx|url|id|v|&[^\/]+?|_\w+?|\.html\?\w+?)[&#=\?]https?(?::\/\/|%3A%2F%2F)[^\/]+?\.(?:youku|fun|miguvideo|wasu|tudou|qq|mgtv|iqiyi|iq|sohu|le|pptv|1905|bilibili|acfun|ixigua)\.))/
// @grant none
// @noframes
// @run-at document-body
// ==/UserScript==
(function(){'use strict';if(self!=top){return false;}else{if(!document.querySelector("\u6c5f\u5c0f\u767d\u81ea\u5b9a\u4e49\u63a5\u53e3")){document.head.appendChild(document.createElement("\u6c5f\u5c0f\u767d\u81ea\u5b9a\u4e49\u63a5\u53e3"));if(location.href.match(/^https?:\/\/(?:(?:www\.ixigua\.com\/|m\.ixigua\.com\/video\/)\d{10,}(?:\?id=\d{10,}|$)|(?:v(?:-wb)?|m)\.youku\.com\/.+?\/id_|\w+?\.wasu\.c.+?\/[pP]lay\/show\/id\/\d|www\.fun\.tv\/vplay\/g-|m\.fun\.tv\/mplay\/\?mid=|\w+?\.miguvideo\.com\/.+?\/detail\.html\?cid=\d|[^\/]+?\.tudou\.com\/(?:v\/|.+?\/id_)|v\.qq\.com\/(?:x\/(?:cover|page)|.+?\/p\/topic)\/|(?:3g|m)\.v\.qq\.com|w(?:ww)?\.mgtv\.com\/[a-z]\/|www\.mgtv\.com\/act\/|m\.mgtv\.com\/b\/|www\.iqiyi\.com\/(?:[vw]_|kszt\/)|www\.iq\.com\/play\/|m\.iqiyi\.com\/(?:v_|$)|tw\.iqiyi\.com\/v_|tv\.sohu\.com\/v\/|m\.tv\.sohu\.com\/(?:u\/|v|phone_play_film\?aid=)|film\.sohu\.com\/album\/|www\.le\.com\/ptv\/vplay\/|m\.le\.com\/vplay_|[vm]\.pptv\.com\/show\/|(?:[^\/]+?\.)?1905\.com\/(?:m|.*?play)\/|www\.ixigua\.com\/|(?:player|live)\.bilibili\.com\/|www\.bilibili\.com\/(?:(?:cheese|bangumi)\/play|blackboard|.*?video)\/|m\.bilibili\.com\/bangumi\/play\/|www\.acfun\.cn\/(?:.+?\/ac|bangumi\/)|m\.acfun\.cn\/v\/|.+?(?:\.m(?:3u8|p4)\?\w+?=|(?:search|jx|url|id|v|&[^\/]+?|_\w+?|\.html\?\w+?)[&#=\?]https?(?::\/\/|%3A%2F%2F)[^\/]+?\.(?:youku|fun|miguvideo|wasu|tudou|qq|mgtv|iqiyi|iq|sohu|le|pptv|1905|bilibili|acfun|ixigua)\.))/)){
/* ** 自定义修改 Josn 全局播放器地址 (必须是 https 类型)** */
let 电脑json全局播放器="https://auete.com/api/dp.php?url=";
let 手机json全局播放器="https://auete.com/api/dp.php?url=";
/* ********填入想屏蔽的接口名称,屏蔽多个用 | 隔开********** */
let 全局自定义屏蔽接口=/百域阁/i;
/* ****************************************************** */
localStorage.setItem('电脑Json全局播放器',电脑json全局播放器);localStorage.setItem('手机Json全局播放器',手机json全局播放器);if(location.host.match(/(?:youku|fun|miguvideo|wasu|tudou|qq|mgtv|iqiyi|iq|sohu|le|pptv|1905|bilibili|acfun|ixigua)/)){let zdyjkb;try{zdyjkb=[
/* **************** 自定义添加接口 ************************* */
//写法例子:
//{name:"PAR",url:"https://jx.bozrc.com:4433/player/?url="},
{name:"解析",url:"https://greasyfork.org/scripts/457154/code/%E8%A7%A3%E6%9E%90%E7%88%AC%E8%99%AB.user.css",vip:"爬虫接口",diy:"#FF9900"},
{name:"茶杯狐",url:"https://cupfox.app/s/",vip:"强制搜索",diy:"#FF9900"},
{name:"电影狗",url:"https://www.dianyinggou.com/so/=%s",vip:"强制搜索"},
{name:"樱花动漫",url:"https://www.mcdm8.com/search/%s-------------.html",vip:"强制搜索"},
{name:"歪片相求",url:"https://waipian13.com/search-%s-------------/",vip:"强制搜索"},
{name:"懒人专用,",url:"370634",vip:"爬虫接口",gx:"1"},
{name:"樱花动漫2",url:"http://www.yinghuacd.com/search/%s",vip:"强制搜索"},
{name:"剧迷影视",url:"https://gmtv1.lol/search/-------------.html?wd=%s&submit=",vip:"强制搜索"},
{name:"茶杯湖",url:"https://www.725998.com/yingku-listt=%s",vip:"强制搜索"},
{name:"测试1",url:"http://drpy.site/js1",vip:"爬虫接口"},
{name:"测试2",url:"http://太硬.ga/x/o.json",vip:"爬虫接口"},
{name:"测试3",url:"http://pandown.pro/tvbox/tvbox.json",vip:"爬虫接口"},
{name:"豌豆PROhttps",url:"https://www.wandou.pro/search/=%s",vip:"强制搜索"},
{name:"樱花导航",url:"https://yinghua.me/searchResult?keywords=%s",vip:"强制搜索"},
{name:"108",url:"https://7080.wang/so.html?wd=%s",vip:"强制搜索"},
{name:"追剧猫",url:"https://zhuiyingmao.com/vodsearch/-------------.html?wd=%s",vip:"强制搜索"},
{name:"鼠",url:"https://tbsdy.com/search.html?keyword=%s",vip:"强制搜索"},
{name:"影搜",url:"https://yingshiso.com/search/%s",vip:"强制搜索"},
{name:"青麦",url:"https://www.qmmovies.com/index.php?s=movie&c=show&keyword=%s",vip:"强制搜索"},
{name:"樱花",url:"https://yinghua.me/searchResult?keywords=%s",vip:"强制搜索"},
{name:"解析网站",url:"http://www.niuga.cn/",vip:"爬虫接口",gx:"1"},
{name:"影猫仓库",url:"https://search.ymck.me/index.php?q=%s",vip:"强制搜索"},
/* ******************************************************* */
];if(JSON.stringify(zdyjkb).match(/(?<!(?:\*|\/\/)\s*?)[\}\[]\s*?(?:,\s*?)?(?:NaN|null|undefined)/i)){localStorage.setItem('江小白自定义接口','[]');alert('111辅助脚本\n\n请自行检测《自定义添加接口》出错的地方');}else{localStorage.setItem('江小白自定义接口',JSON.stringify(zdyjkb));}}catch(e){localStorage.setItem('江小白自定义接口','[]');alert('111辅助脚本\n\n《自定义添加接口》有问题:\n\n'+e);}let zdyjkpbobj=setInterval(function(){try{if(document.querySelector("ul#httpsvipul>li:last-of-type")){const zdyjkpb=document.querySelectorAll('ul#httpsvipul>li');for(let zdyjkpbi=0;zdyjkpbi<zdyjkpb.length;zdyjkpbi++){const zdyjkpbmsa=zdyjkpb[zdyjkpbi].querySelectorAll('a4');for(let zdyjkpbia=0;zdyjkpbia<zdyjkpbmsa.length;zdyjkpbia++){if(zdyjkpbmsa[zdyjkpbia].innerText.match(全局自定义屏蔽接口)){zdyjkpb[zdyjkpbi].setAttribute('style','display:none!important');}};};clearInterval(zdyjkpbobj);}else{}}catch(e){clearInterval(zdyjkpbobj);}},1234);}}}else{return false;}}})();