全网视频去水印-VIP视频解析

本脚本支持去除 腾讯视频 爱奇艺 优酷 西瓜 PPTV 视频平台的非内嵌水印,并且支持解析视频网站VIP蓝光视频

Install this script?
Author's suggested script

You may also like 短视频真实地址获取.

Install this script
  1. // ==UserScript==
  2. // @name 全网视频去水印-VIP视频解析
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.5.2
  5. // @description 本脚本支持去除 腾讯视频 爱奇艺 优酷 西瓜 PPTV 视频平台的非内嵌水印,并且支持解析视频网站VIP蓝光视频
  6. // @author 晚枫QQ237832960
  7. // @license Creative Commons
  8. // @match https://v.qq.com/*
  9. // @match https://v.youku.com/*
  10. // @match https://www.iqiyi.com/*
  11. // @match https://www.bilibili.com/*
  12. // @match https://www.ixigua.com/*
  13. // @match http://v.pptv.com/*
  14. // @match https://www.mgtv.com/*
  15. // @match https://svip.bljiex.cc/*
  16. // @grant 授权非商业使用,未经允许,禁止复制粘贴相关源码
  17. // ==/UserScript==
  18.  
  19. (function() {
  20. 'use strict';
  21.  
  22. // z-index:1 防止全屏下显示按钮,
  23.  
  24. var div = document.createElement("a")
  25. div.innerHTML = "点击解析视频"
  26. div.style.cssText="color: white;\n" +
  27. " text-decoration: none;\n" +
  28. " width: 150px;\n" +
  29. " height: 40px;\n" +
  30. " line-height: 40px;\n" +
  31. " text-align: center;\n" +
  32. " background: transparent;\n" +
  33. " border: 1px solid #d2691e;\n" +
  34. " font-family: Microsoft soft;\n" +
  35. " border-radius: 3px;\n" +
  36. " color:#ff7f50;\n" +
  37. " position: fixed;\n" +
  38. " top: 50%;\n" +
  39. " z-index:999;\n" +
  40. " left: 0px;\n" +
  41. " cursor: pointer;"
  42. div.setAttribute("href","https://svip.bljiex.cc/?v="+location.href,"target","_blank")
  43. div.setAttribute("target","_blank")
  44. document.body.appendChild(div)
  45. var url = location.href;
  46.  
  47.  
  48. var check = setInterval(function () {
  49. var ele = document.getElementsByClassName("txp_waterMark_pic")[0]
  50. if (ele != null){
  51. console.log("TX :"+ ele)
  52. console.log(ele)
  53. ele.remove()
  54. return
  55. }
  56. ele =document.getElementsByClassName("kui-watermark-logo-layer")[0]
  57. if (ele != null){
  58. console.log("YK :"+ ele)
  59. console.log(ele)
  60. ele.remove()
  61. return
  62. }
  63. ele =document.getElementsByClassName("iqp-logo-box")[0]
  64. if (ele != null){
  65. console.log("IQ :"+ ele)
  66. console.log(ele)
  67. ele.remove()
  68. return
  69. }
  70. ele =document.getElementsByClassName("common-xgplayer__Logo")[0]
  71. if (ele != null){
  72. console.log("XG :"+ ele)
  73. console.log(ele)
  74. ele.remove()
  75. return
  76. }
  77. ele =document.getElementById("p-mark")
  78. if (ele != null){
  79. console.log("PP :"+ ele)
  80. console.log(ele)
  81. ele.remove()
  82. return
  83. }
  84.  
  85. ele =document.getElementsByClassName("el-button el-button--primary")[0]
  86. if (ele != null){
  87. div.remove()
  88. console.log(ele)
  89. var input = document.getElementById("url")
  90. input.value = url.substring('https://svip.bljiex.cc/?v='.length,url.length)
  91. return
  92. }
  93.  
  94. },1000)
  95.  
  96. })();