// ==UserScript==
// @name 全网VIP视频免费破解去广告等CTuck
// @namespace super_video_analysis
// @version 0.1.7
// @description 支持手机移动端PC端腾讯,爱奇艺,优酷,土豆等vip视频解析;
// @author CTuck
// @icon https://www.chatgptzh.cn/img/img_cij.png
// @grant GM_registerMenuCommand
// @grant GM_openInTab
// @include *v.youku.com/v_*
// @include *m.youku.com/v*
// @include *m.youku.com/a*
// @include *v.qq.com/x/*
// @include *v.qq.com/p*
// @include *v.qq.com/cover*
// @include *v.qq.com/tv/*
// @include *film.sohu.com/album/*
// @include *tv.sohu.com/*
// @include *.iqiyi.com/v_*
// @include *.iqiyi.com/w_*
// @include *.iqiyi.com/a_*
// @include *.le.com/ptv/vplay/*
// @include *.tudou.com/listplay/*
// @include *.tudou.com/albumplay/*
// @include *.tudou.com/programs/view/*
// @include *.tudou.com/v*
// @include *.mgtv.com/b/*
// @include *.acfun.cn/v/*
// @include *.bilibili.com/video/*
// @include *.bilibili.com/anime/*
// @include *.bilibili.com/bangumi/play/*
// @include *.pptv.com/show/*
// @include *.baofeng.com/play/*
// @include *://y.qq.com/n
// @license AGPL License
// ==/UserScript==
(function() {
'use strict';
GM_registerMenuCommand("免费观看", function () {
var locationurl = window.location.href;
if (locationurl) {
GM_openInTab(`https://okjx.cc/?url=?q=${locationurl}`, { active: true });
}
});
const mianColor = "#1E1E28";
const iconbg = "#a8ffdc"
const secondColor = "#2ab463";
const clkColor = "#ff7300";
const fontsColor = "#ffffff";
const iconMarginLeft = 2;
const iconMarginTop = 150;
var iconWidth = 40;
const iconHeight = 35;
const iconFilletPercent = 0.3;
var developMenuHeight = 220;
var developMenuSecond = 0;
const parseInterfaces =[
{"name": "OK解析","url":"https://okjx.cc/?url=?q="},
{"name": "天翼","url": "https://jsap.attakids.com/?url="},
{"name": "m1907","url": "https://z1.m1907.cn/?jx="},
{"name": "乐多","url": "https://api.leduotv.com/wp-api/ifr.php?isDp=1&vid="},
{"name": "yparse","url": "https://jx.yparse.com/index.php?url="},
{"name": "七哥","url": "https://jx.mmkv.cn/tv.php?url="},
{"name": "铭人云","url": "https://parse.123mingren.com/?url="},
{"name": "Player-JY","url": "https://jx.playerjy.com/?url="},
{"name": "虾米","url": "https://jx.xmflv.com/?url="},
{"name": "MAO","url": "https://www.mtosz.com/m3u8.php?url="},
{"name": "综合/B站","url": "https://jx.bozrc.com:4433/player/?url="},
{"name": "诺讯","url": "https://www.nxflv.com/?url="},
{"name": "夜幕","url": "https://www.yemu.xyz/?url="},
{"name": "BL","url": "https://svip.bljiex.cc/?v="},
{"name": "M3U8TV","url": "https://jx.m3u8.tv/jiexi/?url="},
{"name": "爱豆","url": "https://jx.aidouer.net/?url="},
{"name": "七彩","url": "https://www.xymav.com/?url="},
{"name": "人人迷","url": "https://jx.blbo.cc:4433/?url="},
{"name": "江湖云","url": "https://api.jhdyw.vip/?url="},
{"name": "1717","url": "https://ckmov.ccyjjd.com/ckmov/?url="},
{"name": "8090","url": "https://www.8090g.cn/?url="},
{"name": "qianqi","url": "https://api.qianqi.net/vip/?url="},
{"name": "laobandq","url": "https://vip.laobandq.com/jiexi.php?url="},
{"name": "playm3u8","url": "https://www.playm3u8.cn/jiexi.php?url="},
{"name": "无名小站","url": "https://www.administratorw.com/video.php?url="},
{"name":"星空","url":"http://60jx.com/?url=", "showType":1},
{"name":"17云","url":"https://www.1717yun.com/jx/ty.php?url=", "showType":1},
{"name":"奇米","url":"https://qimihe.com/?url=", "showType":1},
{"name":"小蒋","url":"https://www.kpezp.cn/jlexi.php?url=", "showType":1},
{"name": "全民","url": "https://jx.blbo.cc:4433/?url="},
{"name":"百域","url": "https://jx.618g.com/?url="},
{"name":"全民","url": "https://jx.quanmingjiexi.com/?url="},
{"name":"游艺","url":"https://api.u1o.net/?url=", "showType":1},
{"name":"爱豆","url":"https://jx.aidouer.net/?url=", "showType":1},
{"name": "CK","url": "https://www.ckplayer.vip/jiexi/?url="},
{"name": "盖世","url": "https://www.gai4.com/?url="},
{"name": "盘古","url": "https://go.yh0523.cn/y.cy?url="},,
{"name":"诺诺","url":"https://www.ckmov.com/?url=", "showType":1},
{"name":"解析la","url":"https://api.jiexi.la/?url=", "showType":1},
{"name":"MUTV","url":"https://jiexi.janan.net/jiexi/?url=", "showType":1},
{"name":"盘古2","url":"https://www.pangujiexi.cc/jiexi.php?url=", "showType":1},
{"name":"思云","url":"https://jx.ap2p.cn/?url=", "showType":1},
{"name":"听乐","url":"https://jx.dj6u.com/?url=", "showType":1},
];
const imgbase64 = "https://www.chatgptzh.cn/img/gzh.jpg";
const jstext = "扫码关注公众号获取更多资讯!
点击左侧通道即可免费观看,卡顿或失败切换通道即可!"
const videoSites = [
"qq.com",
"sohu.com",
"iqiyi.com",
"youku.com",
"mgtv.com",
"le.com",
"1905.com",
"pptv.com",
"bilibili.com",
"miguvideo.com"
];
const currentUrl = document.location.href;
if (self != top) {
return;
}
var result = videoSites.some(site=>{
if (currentUrl.match(site)) {
return true;
}
return false;
})
if(!result){
return;
}
if(iconWidth<30){
iconWidth=30;
}
if(developMenuHeight<(iconWidth*2.6)){
developMenuHeight=iconWidth*2.6;
}
var uaLogo="pc";
if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
uaLogo="mobile";
}
const globalStyle = "cursor:pointer;position:fixed;left:"+iconMarginLeft+"px;top:"+iconMarginTop+"px;z-index:2147483647;";
const mainIconStyle = "height:"+iconHeight+"px;width:"+iconWidth+"px;background:"+iconbg+";border-radius:"+(iconFilletPercent*iconWidth)+"px;box-sizing:border-box;box-shadow:-4px 4px 4px 0px rgba(0,0,0,0.4);";
const triangleStyle = "border-left:"+(iconWidth*0.3)+"px solid "+secondColor+";border-top:"+(iconHeight*0.2)+"px solid transparent;border-bottom:"+(iconHeight*0.2)+"px solid transparent;position:absolute;right:31%;top:30%;";
const squareStyle = "background:"+secondColor+";width:"+(iconWidth*0.26)+"px;height:"+(iconWidth*0.26)+"px;position:absolute;right:37%;top:37%;";
const inMenuBoxStyle = "width:110%;height:110%;overflow-y:scroll;overflow-x:hidden;";
const outMenuBoxStyle = "background:"+mianColor+";height:0px;overflow:hidden;font-size:"+(iconWidth*0.2)+"px;width:"+(iconWidth*6)+"px;position:absolute;left:0px;top:"+iconHeight+"px;box-shadow:-4px 4px 4px 0px rgba(0,0,0,0.4);border-radius:13px 0 1px 13px;transition:height "+developMenuSecond+"s;-moz-transition:height "+developMenuSecond+"s;-webkit-transition:height "+developMenuSecond+"s;-o-transition:height "+developMenuSecond+"s;";
const MenuItemsStyle = "color:"+fontsColor+";display: block;padding:"+(iconWidth*0.12)+"px "+(iconWidth*0.12)+"px "+(iconWidth*0.12)+"px "+(iconWidth*0.2)+"px ;width:"+(iconWidth*1.5)+"px;";
const IframeStyle = "frameborder='no' width='100%' height='100%' allowfullscreen='true' allowtransparency='true' frameborder='0' scrolling='no';";
const imgbase64style = "width: 160px;height: 160px;";
const ggwei = "position: absolute;right: 0;width: 160px;";
const jsstyle = "color:#ffffff;";
var classAndIDMap = {
"pc":
{
"qq.com":"mod_player|tenvideo_player|player-container|player__container",
"iqiyi.com":"flashbox",
"youku.com":"ykPlayer",
"mgtv.com":"mgtv-player-wrap",
"sohu.com":"sohuplayer|x-player",
"le.com":"fla_box",
"1905.com":"player",
"pptv.com":"pplive-player",
"miguvideo.com":"mod-player",
"bilibili.com":"bilibili-player|bpx-player-container|bilibili-player-video-wrap|player-limit-mask"
},
"mobile":{
"qq.com":"mod_player|tenvideo_player|player-container|player__container",
"iqiyi.com":"m-box",
"youku.com":"h5-detail-player",
"mgtv.com":"video-area",
"sohu.com":"sohuplayer|player-view",
"le.com":"playB",
"1905.com":"player",
"pptv.com":"pp-details-video",
"miguvideo.com":"mod-player",
"bilibili.com":"bilibili-player|bpx-player-video-wrap|bpx-player-container|bilibiliPlayer|player-wrapper"}
};
createIcon();
document.onreadystatechange = function(){
if(document.readyState == 'complete'){
if(!document.getElementById("mainIcon")){
createIcon();
}
}
}
function createIcon(){
try{
var div = document.createElement("div");
div.style.cssText = globalStyle;
div.setAttribute("id","mainIcon");
var html = "
"+jstext+"