无心vip视频免费看

【移除知乎弹窗】【增加1905网站支持】【增加公众号 无心VIP影视】全网最新题库,支持图片题,永久免费!AND 除去其他不必要的功能,专注于VIP影视解析。因为只做vip解析,所以更专业。调整为8条解析线路,更加方便快捷的观看vip影视。

  1. // ==UserScript==
  2. // @name 无心vip视频免费看
  3. // @namespace https://www.luckyblank.cn
  4. // @version 20.20.12.05
  5. // @description 【移除知乎弹窗】【增加1905网站支持】【增加公众号 无心VIP影视】全网最新题库,支持图片题,永久免费!AND 除去其他不必要的功能,专注于VIP影视解析。因为只做vip解析,所以更专业。调整为8条解析线路,更加方便快捷的观看vip影视。
  6. // @author 我本无心
  7. // @icon http://www.luckyblank.cn/jiaoben/favorite.ico
  8. // @match *://v.youku.com/v_show/*
  9. // @match *://*.iqiyi.com/v_*
  10. // @match *://*.iqiyi.com/w_*
  11. // @match *://*.iqiyi.com/a_*
  12. // @match *://*.iqiyi.com/dianying/*
  13. // @match *://*.le.com/ptv/vplay/*
  14. // @match *://v.qq.com/x/cover/*
  15. // @match *://v.qq.com/x/page/*
  16. // @match *://*.tudou.com/listplay/*
  17. // @match *://*.tudou.com/albumplay/*
  18. // @match *://*.tudou.com/programs/view/*
  19. // @match *://*.mgtv.com/b/*
  20. // @match *://film.sohu.com/album/*
  21. // @match *://*.acfun.cn/v/*
  22. // @match *://*.bilibili.com/video/*
  23. // @match *://*.bilibili.com/anime/*
  24. // @match *://vip.pptv.com/show/*
  25. // @match *://v.pptv.com/show/*
  26. // @match *://v.yinyuetai.com/video/*
  27. // @match *://v.yinyuetai.com/playlist/*
  28. // @match *://*.wasu.cn/Play/show/*
  29. // @match *://vip.1905.com/play/*
  30. // @match *://www.zhihu.com/question/*
  31. // @run-at document-end
  32. // @grant GM_xmlhttpRequest
  33. // @grant GM_info
  34. // @grant GM_getValue
  35. // @grant GM_setValue
  36. // @run-at document-end
  37. // @grant unsafeWindow
  38. // @grant GM_addStyle
  39. // @grant GM_setClipboard
  40. // @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
  41. // @require https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/layer.js
  42. // @require https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js
  43. // @require https://cdn.staticfile.org/jsencrypt/2.3.1/jsencrypt.min.js
  44. // @license MIT
  45. // ==/UserScript==
  46.  
  47. (function() {
  48.  
  49. //FUN_1
  50. if(location.href.match(".iqiyi.com") || location.href.match(".youku.com")|| location.href.match(".le.com")|| location.href.match(".letv.com")|| location.href.match("v.qq.com") || location.href.match(".tudou.com")|| location.href.match(".mgtv.com")|| location.href.match("film.sohu.com")|| location.href.match("tv.sohu.com")|| location.href.match(".acfun.cn")|| location.href.match(".bilibili.com")|| location.href.match(".pptv.com")|| location.href.match("vip.1905.com")|| location.href.match(".yinyuetai.com")|| location.href.match(".fun.tv")|| location.href.match(".56.com") || location.href.match(".wasu.cn")) {
  51. /*变量初始及方法封装*/
  52. $("head").append($('<link rel="stylesheet" href="https://www.luckyblank.cn/tools/layer/layer-v3.1.1/layer/theme/default/layer.css">'));
  53. var qq0 = '<span style="display:block;float:left;width:3vw;height:3vw;font-size:2.5vw;color:#fff;line-height:3vw;text-align:center;border-radius:100%;box-shadow:0px 0px 3px #a9a9a9;background:#0078FF;margin:1vw 1vw;">及</span>'
  54. var qq1 = '<span style="display:block;float:left;width:3vw;height:3vw;font-size:2.5vw;color:#fff;line-height:3vw;text-align:center;border-radius:100%;box-shadow:0px 0px 3px #a9a9a9;background:#0078FF;margin:1vw 1vw;">时</span>'
  55. var qq2 = '<span style="display:block;float:left;width:3vw;height:3vw;font-size:2.5vw;color:#fff;line-height:3vw;text-align:center;border-radius:100%;box-shadow:0px 0px 3px #a9a9a9;background:#0078FF;margin:1vw 1vw;">反</span>'
  56. var qq3 = '<span style="display:block;float:left;width:3vw;height:3vw;font-size:2.5vw;color:#fff;line-height:3vw;text-align:center;border-radius:100%;box-shadow:0px 0px 3px #a9a9a9;background:#0078FF;margin:1vw 1vw;">馈</span>'
  57. function getAll(){var vips;$.ajax({url:"//www.luckyblank.cn:8443/vipaddress/getaddress",type:"GET",async:false,success:function(data){vips=data}});/*console.log("vips:"+vips);*/return vips};
  58. var arr=getAll();
  59. var apis = [{
  60. name:qq0 + "网站解析0",url:"https://www.luckyblank.cn/jiaoben/vipvideos/index.html?link=",title:"接口0"
  61. },
  62. {
  63. name:qq1 + "插件下载0",url:"https://lanzous.com/b0e6zvlc?link=",title:"插件下载"
  64. },
  65. {
  66. name:qq2 + "解析接口1",url:arr[1],title:"接口1"
  67. },{
  68. name:qq3 + "解析接口2",url:arr[2],title:"接口2"
  69. }
  70. ];
  71.  
  72. //创建选项
  73. function createSelect (apis) {
  74. var myul = document.createElement("ul");
  75. myul.id = "myul";
  76. myul.setAttribute("style","overflow: hidden;display:none;background:#fff;box-shadow:0px 1px 10px rgba(0,0,0,0.3);margin:0;position:fixed;bottom:33vh;right:8vw;z-index:99999;height:300px;border-radius:1.26vw;transition: all 1s cubic-bezier(0, 0.82, 0.46, 1.04) 0s;");
  77. for (var i = 0; i < apis.length; i ++) {
  78. var myli = document.createElement("li");
  79. var that=this;
  80. myli.setAttribute("style","cursor: pointer;margin:0;padding:0;display:block;list-style:none;font-size:2vw;width:15vw;text-align:left;line-height:5vw;letter-spacing:0;border-bottom:1px solid #f0f0f0;position:relative;overflow:hidden;text-overflow:hidden;white-space:nowrap;");
  81. (function (num) {
  82. myli.onclick = function () {
  83. window.open(apis[num].url + location.href,'_blank');
  84. };
  85. myli.ontouchstart = function () {
  86. this.style.cssText += "color:yellow;background:#373737;border-radius:1.26vw;";
  87. }
  88. myli.ontouchend = function () {
  89. this.style.cssText += "color:black;background:transparent;border-radius:0;";
  90. }
  91. })(i);
  92. myli.innerHTML = apis[i].name;
  93. myul.appendChild(myli);
  94. }
  95. document.body.appendChild(myul);
  96. }
  97.  
  98. //创建菜单
  99. function createMenu(){
  100. var myBtn = document.createElement("div");
  101. myBtn.id = "myBtn";
  102. myBtn.innerHTML = "+";
  103. myBtn.setAttribute("title","我可以拖动啦");
  104. myBtn.setAttribute("style","cursor: move;width:5vw;height:5vw;position:fixed;bottom:30vh;right:1vw;z-index:100000;border-radius:100%;text-align:center;line-height:5vw;box-shadow:0px 1px 10px rgba(0,0,0,0.3);font-size:3vw;background:rgb(228, 8, 8);");
  105.  
  106. document.body.appendChild(myBtn);
  107. }
  108. //绑定元素拖动
  109. function bindGrabble(){
  110. var mX = 0,
  111. mY = 0; //定义鼠标X轴Y轴
  112. var dX = 0,
  113. dY = 0; //定义div左、上位置
  114. $('#myBtn').on('mousedown', function(e) { //鼠标按下
  115. // 判断一下这个按下是点击还是拖动
  116. var isClick = true;
  117. var event = event || window.event;
  118. mX = event.clientX;
  119. mY = event.clientY;
  120. dX = $(this).offset().left;
  121. dY = $(this).offset().top;
  122. $(document).on('mousemove', (e) => {//鼠标移动
  123. var event = event || window.event;
  124. var x = event.clientX; //鼠标滑动时的X轴
  125. var y = event.clientY; //鼠标滑动时的Y轴
  126.  
  127. var top = suan(y - mY + dY, 0, $(document).innerHeight() - $(this).height()) //调用封装的方法
  128. var left = suan(x - mX + dX, 0, $(document).innerWidth() - $(this).width()) //调用封装的方法
  129. $(this).css({ //给盒子设置坐标
  130. left,
  131. top
  132. })
  133. //拖动后,把isClick设为false,后面就不会执行点击事件
  134. isClick = false;
  135. e.preventDefault();
  136. })
  137. $(document).on('mouseup', (e) => {//鼠标抬起
  138. //当isClick为true时,就执行点击事件
  139. if( isClick ){
  140. var myul = document.getElementById("myul");
  141. if(myul.style.display == "none"){
  142. myul.style.display = "block";
  143. this.style.transform="rotateZ(45deg)";
  144. //设置与按钮的相对位置left-250,top-300
  145.  
  146. myul.style.right = 'auto';
  147. myul.style.bottom = 'auto';
  148. var left_1 = $('#myBtn').offset().left - 250;
  149. if(left_1 <0){
  150. //按钮位置移动
  151. this.style.left= $('#myBtn').offset().left - left_1 +'px';
  152. myul.style.left = 0 +'px';
  153.  
  154. }else{
  155. myul.style.left = $('#myBtn').offset().left - 250 +'px';
  156. }
  157.  
  158. var top_1 = $('#myBtn').offset().top - 300;
  159. if(top_1 <0){
  160. //按钮位置移动
  161. this.style.top= $('#myBtn').offset().top - top_1 +'px';
  162. myul.style.top = 0 +'px';
  163.  
  164. }else{
  165. myul.style.top = $('#myBtn').offset().top - 300 +'px';
  166. }
  167.  
  168. }else{
  169. myul.style.display = "none";
  170. this.style.transform="rotateZ(0deg)";
  171. }
  172. }else{//拖动修正myul位置
  173. var myul2 = document.getElementById("myul");
  174. var mybuttom = document.getElementById("myBtn");
  175. if(myul2.style.display == "block"){
  176.  
  177. myul2.style.right = 'auto';
  178. myul2.style.bottom = 'auto';
  179. var left_2 = $('#myBtn').offset().left - 250;
  180. if(left_2 <0){
  181. //按钮位置移动
  182. mybuttom.style.left= $('#myBtn').offset().left - left_2 +'px';
  183. myul2.style.left = 0 +'px';
  184.  
  185. }else{
  186. myul2.style.left = $('#myBtn').offset().left - 250 +'px';
  187. }
  188.  
  189. var top_2 = $('#myBtn').offset().top - 300;
  190. if(top_2 <0){
  191. //按钮位置移动
  192. mybuttom.style.top= $('#myBtn').offset().top - top_2 +'px';
  193. myul2.style.top = 0 +'px';
  194.  
  195. }else{
  196. myul2.style.top = $('#myBtn').offset().top - 300 +'px';
  197. }
  198. }
  199.  
  200. }
  201. $(document).off('mousemove mouseup')//移除鼠标移动、鼠标抬起事件
  202. })
  203. })
  204.  
  205. }
  206. //防止拖出边界
  207. function suan(o, min, max) { //重复封装
  208. o < min ? o = min : o > max ? o = max : ''//限制出界
  209. return o
  210. }
  211.  
  212.  
  213. //是否发送公告yes = true则执行
  214. function sentNotic(yes) {
  215. if(yes){
  216. //判断用户是否是第一次使用
  217. if($.cookie('isFirstTime') == undefined ){
  218. console.log("first......");
  219.  
  220. var method_own ={
  221. notice: function(){
  222. //示范一个公告层
  223. layer.open({
  224. type: 1
  225. ,title: false //不显示标题栏
  226. ,closeBtn: false
  227. ,area: '350px;'
  228. ,shade: 0.8
  229. ,id: 'LAY_layuipro' //设定一个id,防止重复弹出
  230. ,btn: ['火速围观', '残忍拒绝']
  231. ,btnAlign: 'c'
  232. ,moveType: 1 //拖拽模式,0或者1
  233. ,content: '<div class="notice-wechat" style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;"><img class="qrcode-wechat" src="https://www.luckyblank.cn/img/wechat/gzh.jpg"><br><br>你知道吗?亲!无心影视出公众号啦~<br></div>'
  234. ,success: function(layero){
  235. //修正弹出层位置
  236. layero.css({"top":""})
  237. var btn = layero.find('.layui-layer-btn');
  238. btn.find('.layui-layer-btn0').attr({
  239. href: 'https://mp.weixin.qq.com/s/qPGdcfvT4_UHAS_JzU7Exg'
  240. ,target: '_blank'
  241. });
  242. }
  243. });
  244. }
  245. }
  246. method_own.notice();
  247.  
  248. $.cookie('isFirstTime', '1', { expires: 1, path: '/' });
  249. } else{
  250. console.log('not the first....')
  251. //设置cookie为1天
  252. //var flag = $.removeCookie('isFirstTime', { path: '/' }); // => true
  253. //console.log(flag)
  254.  
  255. }
  256.  
  257.  
  258. }
  259. }
  260.  
  261.  
  262. /*最终执行*/
  263. createMenu();
  264. createSelect(apis);
  265. bindGrabble();
  266. // sentNotic(true);
  267. //直接退出
  268. return false;
  269.  
  270. }
  271.  
  272. //FUN_2
  273. //超星网课助手
  274.  
  275. //FUN_3
  276. //TO-DO....
  277. if(location.href.match(".zhihu.com")){
  278. console.log("FUN_3 HAS RUNNING....")
  279. var style_wrapper = $("<style></style>");
  280. style_wrapper.append("html{overflow:auto !important } .Modal-wrapper{ display:none!important;}")
  281. $("head").append(style_wrapper);
  282. //直接退出
  283. return false;
  284.  
  285. }
  286.  
  287. })();

QingJ © 2025

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