[javascript]代码库
let log=console.log,jx="http://lingquyouhuiquan.cn/vip/index.php?url=",old=""
let v_web={
'v.qq.com/x/cover':function(){$('h1.video_title').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'v.youku.com/v_show/':function(){$('span#subtitle:eq(0)').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
"www.iqiyi.com/":function(){$('div.qy-player-tag').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'www.mgtv.com/b':function(){$('h1.v-panel-title').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='#' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'www.le.com/ptv/vplay':function(){$('div.briefIntro_tit a').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'www.baofeng.com/play':function(){$('div.play-bottom-left a:eq(2)').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:0px!important; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:0px!important;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'vip.1905.com/play/':function(){$('div.widget-a').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'vip.kankan.com/vod/':function(){$('span.e_title').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'v.pptv.com/show/':function(){$('ul.fl').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'v.yinyuetai.com/video/':function(){$('div.videoName').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'tv.sohu.com/v/':function(){$('div#vinfobox').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px; color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'film.sohu.com/':function(){$('div.detailInfo_box p:eq(0)').after("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'www.fun.tv/vplay/':function(){$('span.cru-tit').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})},
'www.wasu.cn/Play/show/':function(){$('div.play_video_b').before("<a style='background-color:#0081FF;border-top-left-radius:15px;border-bottom-left-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='http://lingquvip.com/' target='_blank'>省钱购</a><a class='clk' style='background-color:#FF363A;border-top-right-radius:15px;border-bottom-right-radius:15px;padding:5px;margin-top:3px;color:white;font-size:15px;' href='javascript:;' target='_blank'>视频解析</a>");$("a.clk").on("mouseenter",function(){$(this).text("视频解析中");$(this).attr("href",jx+document.URL);$(this).text("观看视频")})}
}
for(let i in v_web){
if(document.URL.includes(i)){v_web[i]()}
}
setInterval(function(){
if(old!=document.URL){
$("a.clk").text("视频解析")
old=document.URL
log("new Page!!")
}
},1000)
初级程序员
by: 云代码会员 发表于:2019-11-12 21:31:42 顶(0) | 踩(0) 回复
q
回复评论