// ==UserScript== // @name 解析各大视频网站VIP视频,支持优酷,爱奇艺,乐视,腾讯视频,土豆,芒果TV,bilibili,PPTV,暴风,音悦台 // @namespace elon musk // @version 1.1.0 // @icon https://gw.alicdn.com/tfs/TB1ZvwSycbpK1RjSZFyXXX_qFXa-48-48.ico // @description 【不能解析请换线路,或者去公众号获取资源】解析各大视频网站VIP视频,支持优酷,爱奇艺,乐视,腾讯视频,土豆,芒果TV,bilibili,PPTV,暴风,音悦台 // @author syhyz1990 // @license MIT // @supportURL https://github.com/syhyz1990/media // @match *://v.youku.com/v_* // @match *://m.youku.com/v* // @match *://m.youku.com/a* // @match *://*.iqiyi.com/v_* // @match *://*.iqiyi.com/w_* // @match *://*.iqiyi.com/a_* // @match *://*.iqiyi.com/dianying/* // @match *://*.le.com/ptv/vplay/* // @match *v.qq.com/x/cover/* // @match *v.qq.com/x/page/* // @match *v.qq.com/play* // @match *://*.tudou.com/listplay/* // @match *://*.tudou.com/albumplay/* // @match *://*.tudou.com/programs/view/* // @match *://*.mgtv.com/b/* // @match *://film.sohu.com/album/* // @match *://tv.sohu.com/* // @match *://*.bilibili.com/video/* // @match *://*.bilibili.com/anime/* // @match *://*.bilibili.com/bangumi/play/* // @match *://vip.pptv.com/show/* // @match *://v.pptv.com/show/* // @match *://*.baofeng.com/play/* // @match *://v.yinyuetai.com/video/* // @match *://v.yinyuetai.com/playlist/* // @match *://vip.1905.com/play/* // @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js // @run-at document-idle // @grant unsafeWindow // @grant GM_addStyle // @downloadURL none // ==/UserScript== (function() { 'use strict'; function addDiv(){ var div = document.createElement("div"); div.innerHTML = "点我查看电影资源公众号(直接提供百度云以及磁力链接)"; var css = "position:fixed;top:160px;left:20px;z-index:999999999;width:360px;height:32px;line-height:32px;text-align:center;font-size:10px;background:#fff;font-family:Verdana, Arial, '宋体';font-weight:500;color:white;background-color:#f44336;user-select:none;padding:0px;white-space:nowrap;border-radius:3px;border:1px solid #f44336;cursor:pointer;"; div.style.cssText = css; if(window.self === window.top){ document.body.appendChild(div);} div.addEventListener("click",function(){ let url = window.location.href; url = 'http://www.dianyingso.xyz/wp-content/uploads/2019/12/qrcode_for_gh_e1040d1e3da5_258.jpg'; window.open(url, "_blank");}); } addDiv(); })(); (function () { 'use strict'; GM_addStyle('.h-icon-play {color: #d926b5;fill: #d926b5;height: 80px;width: 80px;position: fixed;z-index: 99999;top: 180px;left: 0;cursor: pointer;} .h-ol {position: fixed;top: 250px;left: 20px;z-index: 99999;counter-reset: li;list-style: none;font-size: 14px;padding: 0;margin-bottom: 4em;text-shadow: 0 1px 0 rgba(255, 255, 255, .5);display: none;} .h-ol a {position: relative;display: block;padding: 3px 10px 3px 2em;margin: 0.5em 0;background: #ddd;color: #444;text-decoration: none;border-radius: 0.3em;transition: all 0.3s ease-out;} .h-ol a:hover {background: #eee;color: #ff6f5c;transition: all 0.3s ease-out;} .h-ol a::before {content: counter(li);counter-increment: li;position: absolute;left: -1.2em;top: 50%;margin-top: -1.2em;background: #87ceeb;height: 2em;width: 2em;line-height: 2em;border: 0.2em solid #fff;text-align: center;font-weight: bold;border-radius: 2em;}'); let api = [ {name: '20191227可用解析一', url: 'https://z1.m1907.cn/?jx='}, {name: '20191227可用解析二', url: 'https://beaacc.com/api.php?url='}, {name: '思古解析', url: 'https://api.bbbbbb.me/jx/?url='} ]; let main = { showButton: function () { if (location.host.match(/youku|iqiyi|le|qq|tudou|mgtv|sohu|acfun|bilibili|pptv|baofeng|yinyuetai/ig)) { let mainButton = '
'; let apiList = '
    '; let github = ''; $(top.document.body).append(mainButton); $(top.document.body).append(apiList); api.forEach((val, index) => { $('.h-ol').append(`
  1. ${val.name}
  2. `) }); //反馈按钮 $('.h-ol').append(`
  3. 点击反馈
  4. `); $('.h-ol').append(github); $(top.document.body).on('click', '.h-icon-play', () => { $('.h-ol').fadeToggle('fast'); }); } } }; $(function () { main.showButton(); }); })();