Used to parse VIP video

From , 5 Years ago, written in JavaScript, viewed 197 times.
URL https://pastebin.vip/view/877a9ba7
  1. let log=console.log,jx="http://lingquyouhuiquan.cn/vip/index.php?url=",old=""
  2. let v_web={
  3.   '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("观看视频")})},
  4.   '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("观看视频")})},
  5.   "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("观看视频")})},
  6.   '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("观看视频")})},
  7.   '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("观看视频")})},
  8.   '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("观看视频")})},
  9.   '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("观看视频")})},
  10.   '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("观看视频")})},
  11.   '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("观看视频")})},
  12.   '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("观看视频")})},
  13.   '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("观看视频")})},
  14.   '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("观看视频")})},
  15.   '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("观看视频")})},
  16.   '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("观看视频")})}
  17. }
  18. for(let i in v_web){
  19.   if(document.URL.includes(i)){v_web[i]()}
  20. }
  21. setInterval(function(){
  22.   if(old!=document.URL){
  23.     $("a.clk").text("视频解析")
  24.     old=document.URL
  25.     log("new Page!!")
  26.   }
  27. },1000)

Reply to "Used to parse VIP video"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website