// ==UserScript==
// @name 全网VIP视频免费播放,去广告,支持电视剧免跳出直接选集;全网音乐下载(多线路);知乎视频下载;百度网盘全速下载;「 福利」享不停、薅羊毛等
// @namespace coolhii_vip
// @version 2.0.4
// @description [1]、全网VIP视频破解去广告,支持电视剧免跳出选集,支持的网站有:腾讯视频、爱奇艺、优酷土豆、芒果tv等(注:解析调用第三方网站,可能要求扫二维码关注);[2]、全网音乐免客户端下载(多线路组合),支持QQ音乐、网易云音乐、酷狗等;[3]、知乎视频下载,方便保存;[4]、百度网盘VIP破解,暂时失效,后面解决;[5]、「 福利」享不停,电影、共享账号、破解软件等【脚本专属福利,长期更新】- 【福利已更新】
// @author 橘子爱哭、王超
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAXqUlEQVR4Xu2dC9R9RVnGH5a1RLtIF8u8pamlWCalFmglIiIiIgjKxSteEBUFr6DiJU1MhVS8ICpeEyRFREAkJCvFUjOy1NIsknRZdAG7KF1Wrd/HHNb5vv857Gdmz+y9z/ned629vv9/nWe/M/uZ85zZM/POOzspLBgIBpYysNOKc3NPST8j6faSfir9+6cl3UjSFXPX3235/9Ur/txjVP+HE8+3S3/hfP7fV0n6Srr+VhLXZyR9fYzK1ipzFQXyfZIOSdeDColAIAjoU5LOkvTJQj/rfNsvSzpc0q8mIdys4GHh+bfT9emC+0e/ZZUEQm8xEwa/XDXtG0ko50v6RE3HK+brlyQ9OAmDHrmmnZuE8oGaTlv7WgWB3EfScyQ9pDUZyf/XJH1Y0sckXTxQmWMWgyj2TfzuNkBFPifpFElnDlBW7yKmLJCfkPRsSc/s/ZTlDr4q6d2S3ijpX8vdTPLOx0g6WhICGcN+R9Jr0jhljPKtMqcqEBoOcdTu5i1SFoD+OokEofx3qZOJ3Mcr1NMl7T2B+vyPpFcnofzLBOqzQxWmJpBdJb12Io23qL3+NAnl7VNszI46MehGGIdNsO5/KelFkuhVJmVTEgjiOFvSXSfF0OLK/GESyvtXoK53S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qS0LgVg0NQHl5GcKgdRrAs4GYbOaZSEQi6YmIFZzWdV1LATisORhOF2KfACWhUAsmpqAchKYhUDqNQHnE5JyybIQiEVTExABcwTOORYCcVjyMIdLIqulZSEQi6YmoJwMfyGQek3AGekkDrcsBGLR1ATEngT2JjgWAnFY8jAPl8TZLJaFQCyamoByUmCGQOo1wcGSOP7OshCIRVMTENs+2f7pWAjEYcnDHCSJE4YtC4FYNDUB5eSIDYHUa4IDJJ3nuguBuEzVx5FZgwwbjoVAHJY8zP6SzvegkfbH5akFLieJcgikXgvsJ+lC1130IC5T9XEkLyOJmWMhEIclD7OvpIs8aPQgLk8tcDlZxkMg9VpgH0kXu+6iB3GZqo8jPyx5Yh0LgTgseZi9JV3iQaMHcXlqgctJwx8CqdcCe0m61HUXPYjLVH0cKfhJxe9YCMRhycPsKekTHjS/ByHIi1iWsP4M5AgkeO/P98xDU4Ewd++u/tZ7pPX0lCOQ4L3ed6CpQO4rie4+rD8DOQ11iKSz+xe57T1cI2mXHBZyxyD4/oyke+YUEtgdGPispHtl8HJrSVdm4AO6mIGcbJYbHkoEwo4se8titNRCBjgfnXPSc4wdiMfl3BDYTQx8W9Lukr6Uw0uJQPBPd0+3H5bPAHsR2JOQa/QirADfNffGwG8wkDPmu56yUoHg4BuSbhnkZzHwTUm3yrpjM3hXSV/scf92vTXnLJZNHPURCI5ift7/yl0uaTcfvhSJD3qhO1TwtR1cnCvpwNIH7SsQyiUZMOlrosEWt8K16cCWE0obacF9N5V0YhqT3Lii33Vy9TVJjNvIol9sNQRC4TeXRBjxvSXdQ9LtcqfTip9gejd+V9IVaTBID3uZpM83quYvSNpDElPGvH7B+86Nypq626sT75+T9ClJF0i6qm+lawmkbz3i/mBgkgz8P6Nd8gaJstOoAAAAAElFTkSuQmCC
// @include *://*.youku.com/v_*
// @include *://*.iqiyi.com/v_*
// @include *://*.iqiyi.com/w_*
// @include *://*.iqiyi.com/a_*
// @include *://*.le.com/ptv/vplay/*
// @include *://v.qq.com/x/cover/*
// @include *://v.qq.com/x/page/*
// @include *://*.tudou.com/listplay/*
// @include *://*.tudou.com/albumplay/*
// @include *://*.tudou.com/programs/view/*
// @include *://*.mgtv.com/b/*
// @include *://film.sohu.com/album/*
// @include *://tv.sohu.com/v/*
// @include *://*.acfun.cn/v/*
// @include *://*.bilibili.com/video/*
// @include *://*.bilibili.com/anime/*
// @include *://*.bilibili.com/bangumi/play/*
// @include *://*.baofeng.com/play/*
// @include *://vip.pptv.com/show/*
// @include *://v.pptv.com/show/*
// @include *://vip.coolhii.com/*
// @include *://pan.baidu.com/s/*
// @include *://yun.baidu.com/s/*
// @include *://pan.baidu.com/share/init*
// @include *://yun.baidu.com/share/init*
// @match *://music.163.com/*
// @match *://y.qq.com/*
// @match *://www.kugou.com/*
// @include *://www.zhihu.com/*
// @match *://www.zhihu.com/*
// @include https://v.vzuu.com/video/*
// @include https://video.zhihu.com/video/*
// @match https://v.vzuu.com/video/*
// @match https://video.zhihu.com/video/*
// @exclude *://pan.baidu.com/share/manage*
// @connect pcw-api.iqiyi.com
// @connect vip.coolhii.com
// @connect cc.infopocc.top
// @connect zhihu.com
// @connect vzuu.com
// @grant GM_xmlhttpRequest
// @grant GM_getResourceText
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_download
// @grant GM_openInTab
// @grant GM_info
// @require http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @require https://greasyfork.org/scripts/403428-dom-extend/code/dom-extend.js?version=805627
// @run-at document-idle
// @compatible Chrome
// @compatible Firefox
// @compatible Edge
// @compatible Safari
// @compatible Opera
// @compatible UC
// @license GPL License
// ==/UserScript==
(function() {
'use strict';
var $ = $ || window.$;
var window_url = window.location.href;
var website_host = window.location.host;
var coolhiiVIPVideo={};
coolhiiVIPVideo.analysisWebsite="http://vip.coolhii.com/video/s?url=";
coolhiiVIPVideo.judgeVipWebsite=function(){
var isVip = false;
var host = window.location.host;
var vipWebsites = ["iqiyi.com","v.qq.com","youku.com", "le.com","tudou.com","mgtv.com","sohu.com",
"acfun.cn","bilibili.com","baofeng.com","pptv.com"];
for(var b=0; b<vipWebsites.length; b++){
if(host.indexOf(vipWebsites[b]) != -1){
isVip = true;
break;
}
}
return isVip;
};
coolhiiVIPVideo.addStyle=function(){
var innnerCss =
`
#plugin_coolhii_analysis_vip_movie_box{position:fixed; top:160px; left:0px; width:20px; background-color:#FF2C00;z-index:99999999999;}
#plugin_coolhii_analysis_vip_movie_box >.plugin_item{cursor:pointer; width:20px;height:35px;text-align:center;line-height:35px;}
#plugin_coolhii_analysis_vip_movie_box >.plugin_item >img{width:18px;display: inline-block; vertical-align: middle;}
`;
$("body").prepend("<style>"+innnerCss+"</style>");
};
coolhiiVIPVideo.generateHtml=function(){
var html="";
var vipImgBase64 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAATh0lEQVR4Xu2dCbA2R1mFz7FioRHCLgEEZAsgYmIMBS5gKAIRcSFCgiEJSMBAiYAiIiCoISqopEgAKaJi0CBiIpuihCUQwCSsyk4C4hJ2BAxBAojUsd4/c1P3v/ebme6e7u9+U3O66tb967/db3ef7memp5e3CQcrYAV6FaC1sQJWoF8BA+LeYQUGFDAg7h5WwIC4D1iBMgX8BinTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2caiEKGJCFNLSrWaaAASnTzakWooABWUhDu5plChiQMt2cai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ORK5CYII=";
html+= "<div id='plugin_coolhii_analysis_vip_movie_box'>";
html+= "<div class='plugin_item jump_analysis_website' title='VIP视频破解,电视剧可自由选集'><img src='"+vipImgBase64+"'></div>";
html+= "<div class='plugin_item jump_sheji_website' title='PPT、字体、简历、美图免费下载'><img src='"+shejiImgBase64+"'></div>";
html+= "</div>";
$("body").append(html);
};
coolhiiVIPVideo.operation=function(){
$("body").on("click", "#plugin_coolhii_analysis_vip_movie_box .jump_analysis_website", function(){
var jumpWebsite=coolhiiVIPVideo.analysisWebsite+window_url;
GM_openInTab(jumpWebsite, { active: true });
});
$("body").on("click", "#plugin_coolhii_analysis_vip_movie_box .jump_sheji_website", function(){
GM_openInTab("https://www.sjtiantang.com/", { active: true });
});
};
coolhiiVIPVideo.paramsSelectedInit=function(){
var episodeList=[];
var episodeObj = {
"websiteTitle":"",
"episodeList":episodeList,
"originVideoUrl":""
};
GM_setValue("episodeObj",episodeObj);
return episodeObj;
};
coolhiiVIPVideo.getSelected=function(){
if(website_host==="v.qq.com"){
setInterval(function(){ //每100ms,检测一次集数的变化
var episodeObj = coolhiiVIPVideo.paramsSelectedInit();
var episodeList = episodeObj.episodeList;
var $mod_episode = $(".mod_episode");
try{
if($mod_episode.attr("data-tpl")=="episode"){
$mod_episode.find(".item").each(function(){
var $a = $(this).find("a");
var href = $a.attr("href");
if(!!href){
href = "https://v.qq.com"+href;
var aText = $a.text();
aText = aText.replace(/\s/g,"");
episodeList.push({"aText":aText, "href":href, "description":""});
}
});
}
}catch(e){}
//加入油猴缓存
episodeObj.websiteTitle="qq";
episodeObj.originVideoUrl=window_url;
if(episodeList.length!=0){
episodeObj.episodeList=episodeList;
}
GM_setValue("episodeObj",episodeObj);
},100);
};
if(website_host==="www.iqiyi.com"){
var episodeObj = coolhiiVIPVideo.paramsSelectedInit();
var episodeList = episodeObj.episodeList;
var $i71playpagesdramalist = $("div[is='i71-play']");
if($i71playpagesdramalist.length!=0){
var data = $i71playpagesdramalist.attr(":page-info");
if(!!data){
var dataJson = JSON.parse(data);
var barTotal = 1;
var albumId = dataJson.albumId;
try{
var $barlis = $(".qy-episode-tab").find(".bar-li");
barTotal = $barlis.length;
}catch(e){}
//获取具体数据
for(var page=1; page<=barTotal; page++){
try{
GM_xmlhttpRequest({
url: "https://pcw-api.iqiyi.com/albums/album/avlistinfo?aid="+albumId+"&page="+page+"&size=30",
method: "GET",
headers: {"Content-Type": "application/x-www-form-urlencoded"},
onload: function(response) {
var status = response.status;
if(status==200||status=='200'){
var serverResponseJson = JSON.parse(response.responseText);
var code = serverResponseJson.code;
if(code=="A00000"){
var serverEpsodelist = serverResponseJson.data.epsodelist;
//console.log(serverEpsodelist)
for(var i=0; i<serverEpsodelist.length; i++){
var aText = serverEpsodelist[i].order;
var href = serverEpsodelist[i].playUrl;
var description = serverEpsodelist[i].subtitle;
episodeList.push({"aText":aText, "href":href, "description":description});
}
//加入油猴缓存
if(episodeList.length!=0){
episodeObj.episodeList=episodeList;
}
episodeObj.websiteTitle="iqiyi";
episodeObj.originVideoUrl=window_url;
GM_setValue("episodeObj",episodeObj);
}
}
}
});
}catch(err){}
setTimeout(function(){}, 500);
}
episodeObj.websiteTitle="iqiyi";
episodeObj.originVideoUrl=window_url;
GM_setValue("episodeObj",episodeObj);
}
}
};
if(website_host==="www.mgtv.com"){
var episodeObj = coolhiiVIPVideo.paramsSelectedInit();
var episodeList = episodeObj.episodeList;
setTimeout(function(){
$("body").find(".aside-tabbox").each(function(){
$(this).find("li").each(function(){
var $a = $(this).find("a");
var href = $a.attr("href");
var aText = $(this).text();
if(!!href && aText.indexOf("预告")==-1){
href = "https://www.mgtv.com"+href;
aText = aText.replace("VIP","");
episodeList.push({"aText":aText, "href":href, "description":""});
}
});
});
//加入油猴缓存
episodeObj.websiteTitle="mgtv";
episodeObj.originVideoUrl=window_url;
if(episodeList.length!=0){
episodeObj.episodeList=episodeList;
}
GM_setValue("episodeObj",episodeObj);
},1000);
};
if(website_host==="v.youku.com"){
function youku_select(){
var episodeObj = coolhiiVIPVideo.paramsSelectedInit();
var episodeList = episodeObj.episodeList;
$(".anthology-content-scroll").find(".anthology-content").find(".box-item").each(function(){
var title = $(this).attr("title");
var href = $(this).attr("href");
var $markText = $(this).find(".mark-text");
if($markText.length==0 || "预告".indexOf($markText.text)==-1){
if(!!href){
var aText = title;
var arr = aText.split(" ");
if(arr.length>=2) aText = arr[arr.length-1];
aText = aText.replace(/[^0-9]/ig,"");
if(!!aText){
episodeList.push({"aText":aText, "href":href, "description":title});
//console.log({"aText":aText, "href":href, "description":title})
}
}
}
});
//加入油猴缓存
episodeObj.websiteTitle="youku";
episodeObj.originVideoUrl=window_url;
if(episodeList.length!=0){
episodeObj.episodeList=episodeList;
}
GM_setValue("episodeObj",episodeObj);
}
youku_select();
setInterval(function(){
youku_select();
}, 600);
};
if(website_host==="tv.sohu.com"){
var episodeObj = coolhiiVIPVideo.paramsSelectedInit();
var episodeList = episodeObj.episodeList;
setTimeout(function(){
var $jlistwrap = $(".j-list-wrap");
if(!!$jlistwrap){
$jlistwrap.find("li").each(function(){
var $a = $(this).find("a");
if(!!$a){
var aText = $(this).attr("data-order");
var href = $a.attr("href");
var title = $a.attr("data-title");
if(!!aText && !!href){
href = "https"+href;
episodeList.push({"aText":aText, "href":href, "description":title});
//console.log({"aText":aText, "href":href, "description":title});
}
}
});
}
//加入油猴缓存
episodeObj.websiteTitle="sohu";
episodeObj.originVideoUrl=window_url;
if(episodeList.length!=0){
episodeObj.episodeList=episodeList;
}
GM_setValue("episodeObj",episodeObj);
},1000);
};
};
//支持电视剧选集
coolhiiVIPVideo.movieWebsitesPlayersSelected=function(){
if((website_host=="vip.coolhii.com" && window_url.indexOf("vip.coolhii.com/video/s")!=-1)){
var innerCss=
`
#plugin_coolhii_episode_box{position:fixed; top:170px; left:10px; height:60%; overflow:auto;}
#plugin_coolhii_episode_box >a{display:inline-block;width:25px;height:25px;text-align:center;line-height:25px;border:1px dashed #000;color:#000;margin:5px;text-decoration:none;cursor:pointer;}
#plugin_coolhii_episode_box >a:hover{border:1px dashed #FA749A;color:#FA749A;}
#plugin_coolhii_episode_box >.active{border:1px dashed #FA749A;color:#FA749A;}
#plugin_coolhii_episode_box >.tip{text-align:center;padding:5px;}
@media (max-width: 767px) {#plugin_coolhii_episode_box{display:none;}}
`;
$("body").prepend("<style>"+innerCss+"</style>");
var episodeObj = GM_getValue("episodeObj");
if(!!episodeObj){
var episodeList = episodeObj.episodeList;
if(!!episodeList && episodeList.length!=0){
episodeList.sort((d1, d2)=>{ //排序
var aText1 = d1.aText;
var aText2 = d2.aText;
var aText1Value = parseInt(aText1);
var aText2Value = parseInt(aText2);
if(isNaN(aText1Value) || isNaN(aText2Value)){
return 0;
}else{
return aText1Value-aText2Value;
}
});
var websiteTitle = episodeObj.websiteTitle;
var currentvideourl = GM_getValue("currentvideourl");
var html = "<div id='plugin_coolhii_episode_box'>";
html += "<div class='tip'><b>电视剧点击集数,可自由选集</b></div>";
var waiturl="";
var aclass="";
for(var i=0; i<episodeList.length; i++){
waiturl=episodeList[i].href;
aclass="plugin-episode";
if(window_url.indexOf(waiturl)!=-1 || (currentvideourl==waiturl && websiteTitle=="iqiyi")){
aclass = aclass +" "+"active";
}
html+= "<a class='"+aclass+"' data-href='"+waiturl+"' title='"+episodeList[i].description+"'>"+episodeList[i].aText+"</a>";
if((i+1)%6==0){
html+= "<br>";
}
}
var originVideoUrl=episodeObj.originVideoUrl;
if(!!originVideoUrl){
html += "<div class='origin-video-url'><b>来源视频链接:<a href='"+originVideoUrl+"'>点我返回</a><b></div>";
}
html += "</div>";
$("body").append(html);
}
}
$("body").on("click", ".plugin-episode", function(){
var href=$(this).data("href");
if(!!href){
href = coolhiiVIPVideo.analysisWebsite+href;
window.location.href=href;
}
});
}
}
coolhiiVIPVideo.start=function(){
if(coolhiiVIPVideo.judgeVipWebsite() && window.top==window.self){
coolhiiVIPVideo.addStyle();
coolhiiVIPVideo.generateHtml();
coolhiiVIPVideo.operation();
coolhiiVIPVideo.getSelected();
}
coolhiiVIPVideo.movieWebsitesPlayersSelected();
};
coolhiiVIPVideo.start();
if(coolhiiVIPVideo.judgeVipWebsite()){
return false;
};
//福利放送
var welfareGet={};
welfareGet.websiteurl="http://vip.coolhii.com/video/s/welfare";
welfareGet.judge=function(){
if(website_host=="vip.coolhii.com"){
return true;
}
return false;
}
welfareGet.get=function(){
if(welfareGet.judge() && window.top==window.self){
GM_xmlhttpRequest({
url: welfareGet.websiteurl,
method: "GET",
headers: {"Content-Type": "application/x-www-form-urlencoded"},
onload: function(response) {
var status = response.status;
if(status==200||status=='200'){
var serverResponseJson = JSON.parse(response.responseText);
var data = serverResponseJson.data;
if(!!data){
var $tampermonkeydataarea = $("#tampermonkey-data-area");
$tampermonkeydataarea.empty();
$tampermonkeydataarea.html(data);
}
}
}
});
}
};
welfareGet.get();
//音乐下载:无损音乐、封面、歌词
var musicvip={};
musicvip.operation=function(){
var reWY = /163(.*)song/i;
var reQQ = /QQ(.*)song/i;
var reKG = /kugou(.*)song/i;
var ayaMusicWebsite = "http://mctool.cn/music/?page=audioPage&type=migu&name=";
var ayaMusicTitle = "http://mctool.cn/music/?page=audioPage&type=migu&name=";
var ayaMusicWebsite2 = "https://music.liuzhijin.cn/?url=";
var ayaMusicTitle2 = "https://music.liuzhijin.cn/?name=@name@&type=netease";
var vipBtn = '<div>';
vipBtn += '<a target="_blank" id="ayasongurl-1" style="margin:5px 10px 5px 0px;display:inline-block;padding:4px 8px;background-color:#FF410F;color:#FFF;vertical-align:bottom;text-decoration:none;font-size:13px;"><b>免费下载(线路1)</b></a>';
vipBtn += '<a target="_blank" id="ayasongtitle-1" style="margin:5px 0px;display:inline-block;padding:4px 8px;background-color:#FF410F;color:#FFF;vertical-align:bottom;text-decoration:none;font-size:13px;"><b>歌名搜索(线路1)</b></a>';
vipBtn += '</div>';
vipBtn += '<div>';
vipBtn += '<a target="_blank" id="ayasongurl-2" style="margin:5px 10px 5px 0px;display:inline-block;padding:4px 8px;background-color:#FF410F;color:#FFF;vertical-align:bottom;text-decoration:none;font-size:13px;"><b>免费下载(线路2)</b></a>';
vipBtn += '<a target="_blank" id="ayasongtitle-2" style="margin:5px 0px;display:inline-block;padding:4px 8px;background-color:#FF410F;color:#FFF;vertical-align:bottom;text-decoration:none;font-size:13px;"><b>歌名搜索(线路2)</b></a>';
vipBtn += '</div>';
if(reWY.test(window_url)){
var $title = $('.u-icn-37');
$title.parent('.hd').after(vipBtn);
var titleText = $(".tit").text();
$('#ayasongurl-1').attr('href',ayaMusicWebsite + encodeURIComponent(window.location.href.replace('://music.163.com', "://music.163.com/#")));
$('#ayasongtitle-1').attr("href", ayaMusicTitle + encodeURIComponent(titleText));
$('#ayasongurl-2').attr('href', ayaMusicWebsite2 + encodeURIComponent(window.location.href.replace('://music.163.com', "://music.163.com/#")));
$('#ayasongtitle-2').attr("href", encodeURIComponent(ayaMusicTitle2.replace("@name@", titleText)));
}else if(reQQ.test(window_url)){
var $title = $('.data__name_txt');
var titleText = $(".data__name_txt").text();
$title.parent('.data__name').after(vipBtn);
$('#ayasongurl-1').attr('href',ayaMusicWebsite + encodeURIComponent(window.location.href));
$('#ayasongtitle-1').attr("href", ayaMusicTitle + encodeURIComponent(titleText));
$('#ayasongurl-2').attr('href', ayaMusicWebsite2 + encodeURIComponent(window.location.href));
$('#ayasongtitle-2').attr("href", ayaMusicTitle2.replace("@name@", titleText));
}else if(reKG.test(window_url)){
setTimeout(function(){
var $title = $('.audioName');
$title.parent('.songName').after(vipBtn);
var titleText = $(".audioName").text();
$("#ayasongurl-1").attr("href", ayaMusicWebsite + encodeURIComponent(window.location.href));
$('#ayasongtitle-1').attr("href", ayaMusicTitle + encodeURIComponent(titleText));
$('#ayasongurl-2').attr('href', ayaMusicWebsite2 + encodeURIComponent(window.location.href));
$('#ayasongtitle-2').attr("href", ayaMusicTitle2.replace("@name@", titleText));
},1200);
}
};
musicvip.start=function(){
if(window_url.indexOf("music.163.com")!=-1 || window_url.indexOf("y.qq.com")!=-1 || window_url.indexOf("www.kugou.com")!=-1){
musicvip.operation();
}
};
musicvip.start();
})();
///知乎视频下载,避免重复造轮子
///代码作者:王超
///版本:v1.18
///greasyfork地址:https://greasyfork.org/zh-CN/scripts/39206
(async () => {
if (window.location.host == 'www.zhihu.com') return;
const playlistBaseUrl = 'https://lens.zhihu.com/api/videos/';
//const videoBaseUrl = 'https://video.zhihu.com/video/';
const videoId = window.location.pathname.split('/').pop(); // 视频id
const menuStyle = 'transform:none !important; left:auto !important; right:-0.5em !important;';
const playerId = 'player';
const coverSelector = '#' + playerId + ' > div:first-child > div:first-child > div:nth-of-type(2)';
const controlBarSelector = '#' + playerId + ' > div:first-child > div:first-child > div:last-child > div:last-child > div:first-child';
const svgDownload = '<path d="M9.5,4 H14.5 V10 H17.8 L12,15.8 L6.2,10 H9.5 Z M6.2,18 H17.8 V20 H6.2 Z"></path>';
let player = document.getElementById(playerId);
let resolutionMap = {'标清': 'sd', '高清': 'ld', '超清': 'hd'};
let videos = []; // 存储各分辨率的视频信息
let downloading = false;
function getBrowerInfo() {
let browser = (function (window) {
let document = window.document;
let navigator = window.navigator;
let agent = navigator.userAgent.toLowerCase();
// IE8+支持.返回浏览器渲染当前文档所用的模式
// IE6,IE7:undefined.IE8:8(兼容模式返回7).IE9:9(兼容模式返回7||8)
// IE10:10(兼容模式7||8||9)
let IEMode = document.documentMode;
let chrome = window.chrome || false;
let system = {
// user-agent
agent: agent,
// 是否为IE
isIE: /trident/.test(agent),
// Gecko内核
isGecko: agent.indexOf('gecko') > 0 && agent.indexOf('like gecko') < 0,
// webkit内核
isWebkit: agent.indexOf('webkit') > 0,
// 是否为标准模式
isStrict: document.compatMode === 'CSS1Compat',
// 是否支持subtitle
supportSubTitle: function () {
return 'track' in document.createElement('track');
},
// 是否支持scoped
supportScope: function () {
return 'scoped' in document.createElement('style');
},
// 获取IE的版本号
ieVersion: function () {
let rMsie = /(msie\s|trident.*rv:)([\w.]+)/;
let match = rMsie.exec(agent);
try {
return match[2];
} catch (e) {
return IEMode;
}
},
// Opera版本号
operaVersion: function () {
try {
if (window.opera) {
return agent.match(/opera.([\d.]+)/)[1];
}
else if (agent.indexOf('opr') > 0) {
return agent.match(/opr\/([\d.]+)/)[1];
}
} catch (e) {
return 0;
}
}
};
try {
// 浏览器类型(IE、Opera、Chrome、Safari、Firefox)
system.type = system.isIE ? 'IE' :
window.opera || (agent.indexOf('opr') > 0) ? 'Opera' :
(agent.indexOf('chrome') > 0) ? 'Chrome' :
//safari也提供了专门的判定方式
window.openDatabase ? 'Safari' :
(agent.indexOf('firefox') > 0) ? 'Firefox' :
'unknow';
// 版本号
system.version = (system.type === 'IE') ? system.ieVersion() :
(system.type === 'Firefox') ? agent.match(/firefox\/([\d.]+)/)[1] :
(system.type === 'Chrome') ? agent.match(/chrome\/([\d.]+)/)[1] :
(system.type === 'Opera') ? system.operaVersion() :
(system.type === 'Safari') ? agent.match(/version\/([\d.]+)/)[1] :
'0';
// 浏览器外壳
system.shell = function () {
if (agent.indexOf('edge') > 0) {
system.version = agent.match(/edge\/([\d.]+)/)[1] || system.version;
return 'Edge';
}
// 遨游浏览器
if (agent.indexOf('maxthon') > 0) {
system.version = agent.match(/maxthon\/([\d.]+)/)[1] || system.version;
return 'Maxthon';
}
// QQ浏览器
if (agent.indexOf('qqbrowser') > 0) {
system.version = agent.match(/qqbrowser\/([\d.]+)/)[1] || system.version;
return 'QQBrowser';
}
// 搜狗浏览器
if (agent.indexOf('se 2.x') > 0) {
return '搜狗浏览器';
}
// Chrome:也可以使用window.chrome && window.chrome.webstore判断
if (chrome && system.type !== 'Opera') {
let external = window.external;
let clientInfo = window.clientInformation;
// 客户端语言:zh-cn,zh.360下面会返回undefined
let clientLanguage = clientInfo.languages;
// 猎豹浏览器:或者agent.indexOf("lbbrowser")>0
if (external && 'LiebaoGetVersion' in external) {
return 'LBBrowser';
}
// 百度浏览器
if (agent.indexOf('bidubrowser') > 0) {
system.version = agent.match(/bidubrowser\/([\d.]+)/)[1] ||
agent.match(/chrome\/([\d.]+)/)[1];
return 'BaiDuBrowser';
}
// 360极速浏览器和360安全浏览器
if (system.supportSubTitle() && typeof clientLanguage === 'undefined') {
let storeKeyLen = Object.keys(chrome.webstore).length;
let v8Locale = 'v8Locale' in window;
return storeKeyLen > 1 ? '360极速浏览器' : '360安全浏览器';
}
return 'Chrome';
}
return system.type;
};
// 浏览器名称(如果是壳浏览器,则返回壳名称)
system.name = system.shell();
// 对版本号进行过滤过处理
// System.version = System.versionFilter(System.version);
} catch (e) {
// console.log(e.message);
}
return system;
})(window);
if (browser.name == undefined || browser.name == '') {
browser.name = 'Unknown';
browser.version = 'Unknown';
}
else if (browser.version == undefined) {
browser.version = 'Unknown';
}
return browser;
}
function fetchRetry(url, options = {}, times = 1, delay = 1000, checkStatus = true) {
return new Promise((resolve, reject) => {
// fetch 成功处理函数
function success(res) {
if (checkStatus && !res.ok) {
failure(res);
}
else {
resolve(res);
}
}
// 单次失败处理函数
function failure(error) {
times--;
if (times) {
setTimeout(fetchUrl, delay);
}
else {
reject(error);
}
}
// 总体失败处理函数
function finalHandler(error) {
throw error;
}
function fetchUrl() {
return fetch(url, options)
.then(success)
.catch(failure)
.catch(finalHandler);
}
fetchUrl();
});
}
// 下载指定url的资源
async function downloadUrl(url, name = (new Date()).valueOf() + '.mp4') {
let browser = getBrowerInfo();
// Greasemonkey 需要把 url 转为 blobUrl
if (GM_info.scriptHandler == 'Greasemonkey') {
let res = await fetchRetry(url);
let blob = await res.blob();
url = URL.createObjectURL(blob);
}
// Chrome 可以使用 Tampermonkey 的 GM_download 函数绕过 CSP(Content Security Policy) 的限制
if (window.GM_download) {
GM_download({url, name});
}
else {
// firefox 需要禁用 CSP, about:config -> security.csp.enable => false
let a = document.createElement('a');
a.href = url;
a.download = name;
// a.target = '_blank';
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
setTimeout(function () {
URL.revokeObjectURL(url);
}, 100);
}
}
function humanSize(size) {
let n = Math.log(size) / Math.log(1024) | 0;
return (size / Math.pow(1024, n)).toFixed(0) + ' ' + (n ? 'KMGTPEZY'[--n] + 'B' : 'Bytes');
}
if (!player) return;
// 获取视频信息
const res = await fetchRetry(playlistBaseUrl + videoId, {
headers: {
'referer': 'refererBaseUrl + videoId',
'authorization': 'oauth c3cef7c66a1843f8b3a9e6a1e3160e20' // in zplayer.min.js of zhihu
}
}, 3);
const videoInfo = await res.json();
// 获取不同分辨率视频的信息
for (let [key, video] of Object.entries(videoInfo.playlist)) {
video.name = key;
if (!videos.find(v => v.width == video.width)) {
videos.push(video);
}
}
// 按分辨率大小排序
videos = videos.sort(function (v1, v2) {
return v1.width == v2.width ? 0 : (v1.width > v2.width ? 1 : -1);
}).reverse();
document.addEventListener('DOMNodeInserted', (evt) => {
let domControlBar = evt.relatedNode.querySelector(':scope > div:last-child > div:first-child');
if (!domControlBar || domControlBar.querySelector('.download')) return;
let domFullScreenBtn = domControlBar.querySelector(':scope > div:nth-last-of-type(1)');
let domResolutionBtn = domControlBar.querySelector(':scope > div:nth-last-of-type(3)');
let domDownloadBtn, defaultResolution, buttons;
if (!domFullScreenBtn || !domFullScreenBtn.querySelector('button')) return;
// 克隆分辨率菜单或全屏按钮为下载按钮
domDownloadBtn = (domResolutionBtn && (domResolutionBtn.className == domFullScreenBtn.className))
? domResolutionBtn.cloneNode(true)
: domFullScreenBtn.cloneNode(true);
defaultResolution = domDownloadBtn.querySelector('button').innerText;
// 生成下载按钮图标
domDownloadBtn.querySelector('button:first-child').outerHTML = domFullScreenBtn.cloneNode(true).querySelector('button').outerHTML;
domDownloadBtn.querySelector('svg').innerHTML = svgDownload;
domDownloadBtn.className = domDownloadBtn.className + ' download';
buttons = domDownloadBtn.querySelectorAll('button');
// button 元素添加对应的下载地址
buttons.forEach(dom => {
let video = videos.find(v => v.name == resolutionMap[dom.innerText || defaultResolution]);
video = video || videos[0];
dom.dataset.video = video.play_url;
if (dom.innerText) {
(dom.innerText = `${dom.innerText} (${humanSize(video.size)})`);
}
else if (buttons.length == 1) {
dom.nextSibling.querySelector('div').innerText = humanSize(video.size);
}
});
// 鼠标事件 - 显示菜单
domDownloadBtn.addEventListener('pointerenter', () => {
let domMenu = domDownloadBtn.querySelector('div:nth-of-type(1)');
if (domMenu) {
domMenu.style.cssText = menuStyle + 'opacity:1 !important; visibility:visible !important';
}
});
// 鼠标事件 - 隐藏菜单
domDownloadBtn.addEventListener('pointerleave', () => {
let domMenu = domDownloadBtn.querySelector('div:nth-of-type(1)');
if (domMenu) {
domMenu.style.cssText = menuStyle;
}
});
// 鼠标事件 - 选择菜单项
domDownloadBtn.addEventListener('pointerup', event => {
if (downloading) {
alert('当前正在执行下载任务,请等待任务完成。');
return;
}
let e = event.srcElement || event.target;
while (e.tagName != 'BUTTON') {
e = e.parentNode;
}
downloadUrl(e.dataset.video);
});
// 显示下载按钮
domControlBar.appendChild(domDownloadBtn);
});
})();