// ==UserScript== // @name 影视vip通行证 // @name:zh-CN 影视vip通行证 // @namespace https://scriptcat.org/zh-CN/script-show-page/4140 // @version 4.2.1 // @description 支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析 // @description:zh-CN 支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析 // @icon data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzIiIGN5PSIzMiIgcj0iMzAiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcihfMV8yKSIvPgo8cGF0aCBkPSJNMjEuNDk2MSA0My4yODkxTDQwLjU2NDUgMzIuMjU3OEM0MS4zMDA1IDMxLjgwNjEgNDEuMzAwNSAzMC42NTQyIDQwLjU2NDUgMzAuMjAyNUwyMS40OTYxIDE5LjE3MTIiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXIoXzFfMikiIHgxPSIzMiIgeTE9IjIiIHgyPSIzMiIgeTI9IjYyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMyQTc5RkYiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTA1OUI5Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg== // @author lsym // @license MIT // @uuid 4c4d9a89-279a-4601-83fc-d84d21ece2c6 // @author https://pro.gleeze.com/article/46 // @include *://v.qq.com/x/page/* // @include *://v.qq.com/x/cover/* // @include *://v.qq.com/tv/* // @include *://*.iqiyi.com/v_* // @include *://*.iqiyi.com/a_* // @include *://*.iqiyi.com/w_* // @include *://*.iq.com/play/* // @include *://v.youku.com/v_* // @include *://*.youku.com/v_* // @include *://*.youku.com/video* // @include *://*.youku.com/*?vid=* // @include *://*.mgtv.com/b/* // @include *://*.tudou.com/listplay/* // @include *://*.tudou.com/programs/view/* // @include *://*.tudou.com/albumplay/* // @include *://film.sohu.com/album/* // @include *://tv.sohu.com/v/* // @include *://*.bilibili.com/video/* // @include *://*.bilibili.com/bangumi/play/* // @include *://v.pptv.com/show/* // @include *://vip.pptv.com/show/* // @include *://www.wasu.cn/Play/show/* // @include *://*.le.com/ptv/vplay/* // @include *://*.acfun.cn/v/* // @include *://*.acfun.cn/bangumi/* // @include *://*.1905.com/play/* // @include *://m.v.qq.com/x/page/* // @include *://m.v.qq.com/x/cover/* // @include *://m.v.qq.com/* // @include *://m.iqiyi.com/* // @include *://m.iqiyi.com/kszt/* // @include *://m.youku.com/video/* // @include *://m.mgtv.com/b/* // @include *://m.tv.sohu.com/v/* // @include *://m.film.sohu.com/album/* // @include *://m.pptv.com/show/* // @include *://m.bilibili.com/anime/* // @include *://m.bilibili.com/video/* // @include *://m.bilibili.com/bangumi/play/* // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js // @connect api.bilibili.com // @grant GM_addStyle // @grant GM_openInTab // @grant GM_getValue // @grant GM_setValue // @grant GM_xmlhttpRequest // @run-at document-idle // @charset UTF-8 // @license GPL License // ==/UserScript== (function(_0x568961,_0x1c02fc){const _0x13f0aa=_0x58a4,_0x3a56c4=_0x568961();while(!![]){try{const _0x1617ea=-parseInt(_0x13f0aa(0x20b))/0x1+parseInt(_0x13f0aa(0x1d3))/0x2+-parseInt(_0x13f0aa(0x1fd))/0x3*(-parseInt(_0x13f0aa(0x1df))/0x4)+-parseInt(_0x13f0aa(0x277))/0x5+parseInt(_0x13f0aa(0x263))/0x6*(parseInt(_0x13f0aa(0x1e4))/0x7)+parseInt(_0x13f0aa(0x264))/0x8*(-parseInt(_0x13f0aa(0x19c))/0x9)+-parseInt(_0x13f0aa(0x243))/0xa*(-parseInt(_0x13f0aa(0x26d))/0xb);if(_0x1617ea===_0x1c02fc)break;else _0x3a56c4['push'](_0x3a56c4['shift']());}catch(_0x55e817){_0x3a56c4['push'](_0x3a56c4['shift']());}}}(_0x5334,0xddd19));const util=(function(){function _0xcbbaf(_0x5e2271){const _0x108cbb=_0x58a4,_0x429721=window[_0x108cbb(0x1c0)];let _0x175567,_0x535c5c=0x0;const _0xd0cb43=0x78;return new Promise((_0x42c9af,_0x4d5bcf)=>{let _0x3e6dbb=setInterval(()=>{const _0x587911=_0x58a4;_0x175567=_0x429721[_0x587911(0x24c)](_0x5e2271),_0x175567&&(clearInterval(_0x3e6dbb),_0x42c9af(_0x175567)),++_0x535c5c===_0xd0cb43&&(clearInterval(_0x3e6dbb),_0x4d5bcf(new Error('Element\x20\x22'+_0x5e2271+'\x22\x20not\x20found\x20after\x20'+_0xd0cb43/0x2+'\x20seconds.')));},0x1f4);});}function _0x16fc5e(){const _0x5a767f=_0x58a4;let _0x42ecc=window[_0x5a767f(0x26e)]['href'];const _0x5d1de8=()=>{const _0x127585=_0x5a767f,_0x74e34a=window[_0x127585(0x26e)][_0x127585(0x1c8)];_0x42ecc!==_0x74e34a?window['location'][_0x127585(0x1f8)]():requestAnimationFrame(_0x5d1de8);};_0x5d1de8();}function _0x575573(){const _0x2752da=_0x58a4,_0x4a8eef=new MutationObserver(()=>{const _0x5f240d=_0x58a4;for(let _0xb48e49 of document[_0x5f240d(0x1b1)](_0x5f240d(0x207))){_0xb48e49['src']&&(_0xb48e49['removeAttribute']('src'),_0xb48e49['muted']=!![],_0xb48e49['load'](),_0xb48e49[_0x5f240d(0x227)]());}});_0x4a8eef[_0x2752da(0x1bf)](document[_0x2752da(0x238)],{'childList':!![],'subtree':!![]});}function _0x5833f4(_0x209b67){return new Promise((_0x4c08f2,_0x149214)=>{const _0x465bc3=_0x58a4;_0x209b67[_0x465bc3(0x252)]=_0x36a9e9=>{_0x4c08f2(_0x36a9e9);},_0x209b67[_0x465bc3(0x23a)]=_0x1b55ef=>{_0x149214(_0x1b55ef);},GM_xmlhttpRequest(_0x209b67);});}function _0x5da61b(_0x2d4627,_0x116b28){let _0x34bd77;return function(..._0x551d2e){clearTimeout(_0x34bd77),_0x34bd77=setTimeout(()=>_0x2d4627['apply'](this,_0x551d2e),_0x116b28);};}return{'req':_0x248056=>_0x5833f4(_0x248056),'findTargetEle':_0xe112f3=>_0xcbbaf(_0xe112f3),'urlChangeReload':()=>_0x16fc5e(),'removeVideo':()=>_0x575573(),'debounce':_0x5da61b};}()),superVip=(function(){const _0x177ca9=_0x58a4,_0x27e940={'isMobile':navigator[_0x177ca9(0x26a)][_0x177ca9(0x202)](/(Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i),'currentPlayerNode':null,'vipBoxId':_0x177ca9(0x22f)+Math[_0x177ca9(0x239)](Math[_0x177ca9(0x230)]()*0x5f5e100),'flag':_0x177ca9(0x1f3),'autoPlayerKey':_0x177ca9(0x1a7)+window[_0x177ca9(0x26e)][_0x177ca9(0x21f)],'autoPlayerVal':_0x177ca9(0x1b6)+window['location']['host'],'videoParseList':[{'name':'IK','type':'1,3','url':_0x177ca9(0x231)},{'name':_0x177ca9(0x1cd),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1dd)},{'name':_0x177ca9(0x251),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1d2)},{'name':'虾米','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x218)},{'name':_0x177ca9(0x1cc),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1e8)},{'name':_0x177ca9(0x253),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1ac)},{'name':_0x177ca9(0x20c),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1e5)},{'name':_0x177ca9(0x25d),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x22c)},{'name':'七哥','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x222)},{'name':_0x177ca9(0x1b2),'type':_0x177ca9(0x1bb),'url':'https://jx.973973.xyz/?url='},{'name':_0x177ca9(0x1ff),'type':'1,3','url':_0x177ca9(0x1be)},{'name':_0x177ca9(0x1f5),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1dc)},{'name':_0x177ca9(0x1fe),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x200)},{'name':'爱豆','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x249)},{'name':_0x177ca9(0x25c),'type':_0x177ca9(0x1bb),'url':''},{'name':'芒果','type':'1,3','url':_0x177ca9(0x220)},{'name':'夜幕','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x236)},{'name':'盘古','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1f2)},{'name':_0x177ca9(0x1b5),'type':_0x177ca9(0x1bb),'url':'https://www.8090g.cn/?url='},{'name':_0x177ca9(0x1da),'type':_0x177ca9(0x1bb),'url':_0x177ca9(0x233)},{'name':'FF','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1bc)},{'name':'HM','type':_0x177ca9(0x1bb),'url':_0x177ca9(0x1e6)},{'name':'LZ','type':'1,3','url':'https://pl.aszzys.com/player/ec.php?code=lzm3u8&if=1&url='},{'name':_0x177ca9(0x26b),'type':'1,3','url':_0x177ca9(0x254)}],'playerContainers':[{'host':_0x177ca9(0x272),'container':_0x177ca9(0x276),'name':_0x177ca9(0x219),'displayNodes':[_0x177ca9(0x235),_0x177ca9(0x261),'#mask_layer','.panel-tip-pay']},{'host':'m.v.qq.com','container':_0x177ca9(0x240),'name':_0x177ca9(0x219),'displayNodes':[_0x177ca9(0x261),'[class^=app_],[class^=app-],[class*=_app_],[class*=-app-],[class$=_app],[class$=-app]','div[dt-eid=open_app_bottom]','div.video_function.video_function_new',_0x177ca9(0x1a4),'section.mod_source','section.mod_box.mod_sideslip_h.mod_multi_figures_h,section.mod_sideslip_privileges,section.mod_game_rec']},{'host':_0x177ca9(0x275),'container':'#mgtv-player-wrap','name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x1b8),'container':'#mgtv-player-wrap','name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x1d5),'container':_0x177ca9(0x20e),'name':_0x177ca9(0x219),'displayNodes':['div.adFixedContain,div.ad-banner,div.m-list-graphicxcy.fstp-mark',_0x177ca9(0x1fc),'div.ht.mgui-btn.mgui-btn-nowelt','div.personal',_0x177ca9(0x24e)]},{'host':'www.bilibili.com','container':_0x177ca9(0x215),'name':'Default','displayNodes':[]},{'host':_0x177ca9(0x232),'container':'.player-wrapper,.player-container,.mplayer','name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x247),'container':_0x177ca9(0x23b),'name':_0x177ca9(0x219),'displayNodes':['#playerPopup',_0x177ca9(0x19f),_0x177ca9(0x1e0),_0x177ca9(0x228)]},{'host':_0x177ca9(0x23e),'container':_0x177ca9(0x241),'name':_0x177ca9(0x219),'displayNodes':[_0x177ca9(0x25e),'a[down-app-android-url]',_0x177ca9(0x1eb),_0x177ca9(0x273),'section.m-hotWords-bottom']},{'host':_0x177ca9(0x1d0),'container':'.intl-video-wrap','name':'Default','displayNodes':[]},{'host':_0x177ca9(0x248),'container':'#playerMouseWheel','name':_0x177ca9(0x219),'displayNodes':['#iframaWrapper']},{'host':'m.youku.com','container':_0x177ca9(0x1af),'name':'Default','displayNodes':[]},{'host':_0x177ca9(0x1cb),'container':_0x177ca9(0x258),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x1d7),'container':_0x177ca9(0x265),'name':'Default','displayNodes':[]},{'host':_0x177ca9(0x1e7),'container':_0x177ca9(0x201),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x1d6),'container':_0x177ca9(0x1a6),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':'v.pptv.com','container':_0x177ca9(0x1a8),'name':'Default','displayNodes':[]},{'host':_0x177ca9(0x20f),'container':'.w-video','name':'Default','displayNodes':[]},{'host':_0x177ca9(0x259),'container':_0x177ca9(0x1ea),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':'www.acfun.cn','container':_0x177ca9(0x258),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':'vip.1905.com','container':_0x177ca9(0x229),'name':_0x177ca9(0x219),'displayNodes':[]},{'host':_0x177ca9(0x255),'container':'#player,#vodPlayer','name':_0x177ca9(0x219),'displayNodes':[]}]};class _0x86fcad{constructor(){const _0x1745e1=_0x177ca9;this[_0x1745e1(0x1d1)]=()=>{const _0x362072=_0x1745e1;util['findTargetEle'](_0x362072(0x238))['then'](_0x4b1cc8=>this[_0x362072(0x26f)](_0x4b1cc8))[_0x362072(0x1c9)](_0x7db654=>this['generateElement'](_0x7db654))[_0x362072(0x1c9)](_0x4ff1b0=>this[_0x362072(0x1de)](_0x4ff1b0))[_0x362072(0x1c9)](_0x4ab2d8=>this[_0x362072(0x1d9)](_0x4ab2d8))[_0x362072(0x1c9)](_0x128daa=>this['postHandle'](_0x128daa))[_0x362072(0x24a)](_0x187bbe=>{console['error']('SuperVip\x20script\x20initialization\x20failed:',_0x187bbe);});};}[_0x177ca9(0x26f)](_0x51a309){const _0xfd87c6=_0x177ca9;return _0x27e940[_0xfd87c6(0x1ef)][_0xfd87c6(0x24f)]['forEach'](_0x1cd7cc=>{const _0x3aa545=_0xfd87c6;util[_0x3aa545(0x23f)](_0x1cd7cc)[_0x3aa545(0x1c9)](_0x3519fb=>_0x3519fb[_0x3aa545(0x1b3)][_0x3aa545(0x21e)]='none')[_0x3aa545(0x24a)](()=>{});}),Promise[_0xfd87c6(0x271)](_0x51a309);}[_0x177ca9(0x1ba)](_0x3d940b){const _0x1dc6b5=_0x177ca9;GM_addStyle('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#'+_0x27e940['vipBoxId']+_0x1dc6b5(0x269)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x22a)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x1c4)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x23d)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x245)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x1e9)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x203)+_0x27e940['vipBoxId']+_0x1dc6b5(0x212)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x1e3)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x21c)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x1db)+_0x27e940['vipBoxId']+'\x20.vip_list\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:none;\x20position:absolute;\x20border-radius:10px;\x20left:54px;\x20top:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#2a2d33;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#3c414a;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:380px;\x20max-height:400px;\x20overflow-y:auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x2010px\x2010px\x2020px\x20#202226,\x20-10px\x20-10px\x2020px\x20#343840;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-10px);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.2s\x20ease-out,\x20transform\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#'+_0x27e940['vipBoxId']+_0x1dc6b5(0x26c)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x20a)+_0x27e940['vipBoxId']+_0x1dc6b5(0x225)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x209)+_0x27e940['vipBoxId']+_0x1dc6b5(0x237)+_0x27e940['vipBoxId']+_0x1dc6b5(0x278)+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x206)+_0x27e940[_0x1dc6b5(0x1ad)]+'\x20li.selected{color:#fff;\x20border-color:#00aaff;\x20background:\x20#007acc;}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#'+_0x27e940[_0x1dc6b5(0x1ad)]+_0x1dc6b5(0x267));let _0x24c8c6='',_0x89d9df='';_0x27e940[_0x1dc6b5(0x1a5)][_0x1dc6b5(0x1a9)]((_0x3a95dc,_0x5a1a58)=>{const _0x12a588=_0x1dc6b5;_0x3a95dc[_0x12a588(0x22e)][_0x12a588(0x25a)]('1')&&(_0x24c8c6+='