视频助手

集合了优酷、爱奇艺、腾讯、芒果等全网VIP视频免费破解去广告用的功能。

目前為 2019-09-14 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name 视频助手
  3. // @namespace devret
  4. // @version 1.0
  5. // @description 集合了优酷、爱奇艺、腾讯、芒果等全网VIP视频免费破解去广告用的功能。
  6. // @author devret@qq.com
  7. // @include *://v.vzuu.com/video/*
  8. // @include *://v.youku.com/v_*
  9. // @include *://m.youku.com/v*
  10. // @include *://m.youku.com/a*
  11. // @include *.iqiyi.com/v_*
  12. // @include *.iqiyi.com/w_*
  13. // @include *.iqiyi.com/a_*
  14. // @include *.le.com/ptv/vplay/*
  15. // @include *v.qq.com/x/cover/*
  16. // @include *v.qq.com/x/page/*
  17. // @include *v.qq.com/play*
  18. // @include *v.qq.com/cover*
  19. // @include *.tudou.com/listplay/*
  20. // @include *.tudou.com/albumplay/*
  21. // @include *.tudou.com/programs/view/*
  22. // @include *.tudou.com/v*
  23. // @include *.mgtv.com/b/*
  24. // @include *://film.sohu.com/album/*
  25. // @include *://tv.sohu.com/*
  26. // @include *.acfun.cn/v/*
  27. // @include *.bilibili.com/video/*
  28. // @include *.bilibili.com/anime/*
  29. // @include *.bilibili.com/bangumi/play/*
  30. // @include *.pptv.com/show/*
  31. // @include *://*.baofeng.com/play/*
  32. // @include *://*.wasu.cn/Play/show*
  33. // @include *://v.yinyuetai.com/video/*
  34. // @include *://v.yinyuetai.com/playlist/*
  35. // @include *://*.qmaile.com/*
  36. // @require http://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
  37. // @require https://cdn.bootcss.com/sweetalert/2.1.2/sweetalert.min.js
  38. // @require http://code.jquery.com/jquery-latest.js
  39. // ==/UserScript==
  40.  
  41. (function() {
  42. var palyUrl=getUrls()[0];
  43. if(palyUrl.indexOf('www.qmaile.com') == -1){
  44. var address=new Array()
  45. address[0]="youku.com"
  46. address[1]="iqiyi.com"
  47. address[2]="le.com"
  48. address[3]="qq.com"
  49. address[4]="tudou.com"
  50. address[5]="mgtv.com"
  51. address[6]="sohu.com"
  52. address[7]="acfun.cn"
  53. address[8]="bilibili.com"
  54. address[9]="pptv.com"
  55. address[10]="baofeng.com"
  56. address[11]="yinyuetai.com"
  57. address[12]="wasu.cn"
  58. //添加VIP解析按钮
  59. for(var n=0;n<address.length;n++){
  60. if(palyUrl.indexOf(address[n])!= -1){
  61. var vipHtml = "<div id='vipJxUrl' href='javascript:void(0)' target='_blank' style='cursor:pointer;z-index:98;display:block;width:30px;height:30px;line-height:30px;position:fixed;left:0;top:300px;text-align:center;overflow:visible'><img src='http://cdn.80note.com/vip.gif' height='55' ></div>";
  62. $("body").append(vipHtml);
  63. break;
  64. }
  65. }
  66. //绑定解析按钮事件
  67. $("#vipJxUrl").click(function(){
  68. location.href='http://www.qmaile.com/?url='+palyUrl;
  69. });
  70. }else{
  71. //设置解析网输入框值
  72. $("#url").val(getParameter("url"));
  73. dihejk2();
  74. window.close();
  75. }
  76. /*
  77. 获取播放地址
  78. */
  79. function getUrls(){
  80. var url = window.location.href;
  81. var urlArray = new Array();
  82. urlArray = url.split('?')
  83. return urlArray;
  84. }
  85. /**
  86. * @desc 获取url参数
  87. * @param {String} paramName 想要获取的参数名字
  88. * @param {String} url 访问地址,可以为空:为空时默认为当前url
  89. */
  90. function getParameter(paramName, url) {
  91. var seachUrl = window.location.search.replace("?", "");
  92. if (url != null) {
  93. var index = url.indexOf('?');
  94. url = url.substr(index + 1);
  95. seachUrl = url;
  96. }
  97. var ss = seachUrl.split("&");
  98. var paramNameStr = "";
  99. var paramNameIndex = -1;
  100. for (var i = 0; i < ss.length; i++) {
  101. paramNameIndex = ss[i].indexOf("=");
  102. paramNameStr = ss[i].substring(0, paramNameIndex);
  103. if (paramNameStr == paramName) {
  104. var returnValue = ss[i].substring(paramNameIndex + 1, ss[i].length);
  105. if (typeof(returnValue) == "undefined") {
  106. returnValue = "";
  107. }
  108. return returnValue;
  109. }
  110. }
  111. return "";
  112. }
  113. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址