├── 20200827101102.gif ├── README.md ├── 指导.md ├── 91porn-vip.js └── 91p.js /20200827101102.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/91p2024/91/HEAD/20200827101102.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 解锁VIP观看下载搜索限制,去除广告等 代码已开源GitHub.授权任何人非盈利分发 2 | 3 | 警告:本脚本无任何盈利方式,触犯某收费且含有监控追踪代码脚本利益,疯狂举报,无论举报是否成功都会待审核, 4 | 5 | 若一键无法安装.请看介绍手动安装.代码已开源GitHub.授权任何人非盈利分发.且用且珍惜,再次警告:花花网络世界,请保护好个人财产和隐私. 6 | 7 | # 防丢导航群&更新公告&使用教程&常见问题&每日自动采集精选 等都在这里,https://t.me/svipmap 8 | 9 | # 新建个了自用91精选|每日更新 10 | 11 | https://t.me/viptop91 12 | 13 | # 安装教程 14 | 15 | ## 电脑版 16 | 17 | 18 | ### 一键安装 19 | [点我](https://openuserjs.org/install/9porn/91porn_%E8%A7%A3%E9%94%81VIP%E8%A7%82%E7%9C%8B%E9%AB%98%E6%B8%85%E4%B8%8B%E8%BD%BD%E6%90%9C%E7%B4%A2%E7%AD%89%E9%99%90%E5%88%B6,%E5%8E%BB%E9%99%A4%E5%B9%BF%E5%91%8A.%E6%AD%A3%E5%88%99%E7%89%88%E9%80%9A%E6%9D%80%E6%89%80%E6%9C%89_for_openuserjs.user.js) 20 | 21 | ### 手动安装 22 | 23 | 新建脚本 24 | 25 | 复制内容 https://github.com/91p2024/91/blob/main/91porn-vip.js 26 | 27 | 填入即可 28 | 29 | ## 手机安装代码 30 | 31 | 新建脚本 被动模式 填入以下内容即可 32 | 33 | ```javascript 34 | 35 | 36 | (function() { 37 | $("head").append(''); 38 | } 39 | ``` 40 | 41 | 42 | 43 | 44 | 45 | 46 | ### 预览图 47 | 48 | PC电脑 49 |  50 | 51 |  52 | 53 | 手机 54 |  55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | # 再次警告:花花网络世界,请保护好个人财产和隐私. 71 | -------------------------------------------------------------------------------- /指导.md: -------------------------------------------------------------------------------- 1 | # 解锁VIP观看下载搜索限制,去除广告等,本脚本是指导脚本请按介绍安装. 2 | 3 | 警告:本脚本无任何盈利方式,触犯某收费且含有监控追踪代码脚本利益,无论举报成功都会被暂时无法安装.被人疯狂举报且用且珍惜,请保护好个人财产和隐私. 4 | 5 | ### 预览图 6 | 7 | #### PC电脑 8 |  9 | 10 |  11 | 12 | #### 手机 13 |  14 | # 安装教程 15 | 16 | ## 电脑版 17 | 18 | 新建脚本 19 | 20 | 复制内容 https://github.com/91p2022/91/blob/main/91porn-vip.js 21 | 22 | 填入即可 23 | 24 | ## 手机安装代码 25 | 26 | 新建脚本 被动模式 填入以下内容即可 27 | ```javascript 28 | // ==UserScript== 29 | // @name 91porn 解锁VIP观看高清下载搜索等限制,去除广告.指导版本 30 | // @name:en 91porn Unlock VIP watch HD download search and other restrictions, remove ads. 31 | // @namespace https://greasyfork.org/scripts/444066 32 | // @version 0.1 33 | // @description 解锁VIP观看下载搜索限制,去除广告等,警告:本脚本无任何盈利方式,触犯某收费且含有监控追踪代码脚本,疯狂举报且用且珍惜,请保护好个人财产和隐私. 34 | // @description:en Unlock VIP watch download search restrictions, remove ads, etc. Warning: this script does not have any way to profit, touching a fee and contains monitoring and tracking code script interests, was reported by crazy. Use and cherish, please protect personal property and privacy. 35 | // @author @chunv_bot 36 | // @supportURL https://t.me/chunvtgbot 37 | // @antifeature tracking ============================================>>> 说明:当前脚本使用官方统计了解用户安装数量。这个操作仅会收集您的使用信息,不包含您鼠标、键盘点击在内的所有操作,没有任何安全风险,不会产生性能损耗。为了保护您的知情权以及使用体验,特告知于您。代码开源可审计,请您放心安装。 <<<============================================ 38 | // @require https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js 39 | // @require https://www.googletagmanager.com/gtag/js 40 | // @match *.91porn.com/* 41 | // @match *://*/view_video.php* 42 | // @match *://*/index.php* 43 | // @match *://*/search_result.php* 44 | // @home-url https://t.me/chunvtgbot 45 | // @icon https://www.google.com/s2/favicons?sz=64&domain=91porn.com 46 | // @grant unsafeWindow 47 | // @grant GM_xmlhttpRequest 48 | // @license AGPL-3.0 49 | // ==/UserScript== 50 | 51 | (function() { 52 | 'use strict'; 53 | $("head").append(''); 54 | 55 | $("head").append(''); 56 | -------------------------------------------------------------------------------- /91porn-vip.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name 91porn 解锁VIP观看高清下载搜索等限制,去除广告.正则版通杀所有 for openuserjs 3 | // @description https://github.com/91p2024/91 解锁91pornVIP观看下载搜索限制,去除广告等,警告:本脚本无任何盈利方式,触犯某收费且含有监控追踪代码脚本,疯狂举报且用且珍惜,请保护好个人财产和隐私. 4 | // @copyright @chunv_bot 5 | // @icon https://www.google.com/s2/favicons?sz=64&domain=91porn.com 6 | // @version 2024.07.10.01 7 | // @author https://t.me/vip91bot 8 | // @license AGPL-3.0-only 9 | // @homepageURL https://t.me/vip91bot 10 | // @match *.91porn.com/* 11 | // @match *://*/view_video.php* 12 | // @match *://*/index.php* 13 | // @match *://*/search_result.php* 14 | // @require https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js 15 | // @require https://www.googletagmanager.com/gtag/js 16 | // @run-at document-end 17 | // @grant none 18 | // ==/UserScript== 19 | function playvideo() { 20 | $.ajax({ 21 | url:"http://"+ window.location.host +"/api/playvideo.html", 22 | type:"post", 23 | data:{id:window.location.href.match(/\/([0-9]+)\./)[1]}, 24 | success:function(e){ 25 | e = JSON.parse(e); 26 | $(".share").html('
'+e.data.videoInfo.url.split("?")[0]+'
'); 27 | if(e.message == "\u89c6\u9891\u9700\u8981\u4ed8\u8d39\u002c\u8bf7\u767b\u9646\u540e\u89c2\u770b"){ 28 | console.log(e.data.videoInfo.url); 29 | $("body").append(""); 30 | new ckplayer({container:"#playerBox",autoplay:true,video:e.data.videoInfo.url}); 31 | } 32 | } 33 | }); 34 | }; 35 | function DeleagePlayBtnClickEvent()//委托播放按钮来执行代码 36 | { 37 | var PlayVideoButton = document.getElementsByClassName("vjs-big-play-button"); 38 | if(PlayVideoButton.length>0) 39 | { 40 | PlayVideoButton[0].setAttribute("onclick","EnableSkipButton_Skip()"); 41 | console.log("success:成功委托播放按钮执行注入代码"); 42 | } 43 | else 44 | { 45 | console.log("err...:没有找到网站的播放按钮") 46 | } 47 | } 48 | 49 | 50 | function RemovePipWindow()//移除小窗 51 | { 52 | var PipElem_Close = document.getElementsByClassName("vjs-pip-close")[0];// 53 | if(PipElem_Close!=undefined) 54 | { 55 | PipElem_Close.click();//表示已经关闭 56 | document.onmousewheel = ()=>{};//执行之后不需要继续监听 57 | console.log("已经关闭小窗,停止监听"); 58 | } 59 | else 60 | { 61 | console.log("检测到鼠标滚动,没有探测到区域内小窗..."); 62 | } 63 | } 64 | 65 | function Toast_Success()//对部分地址进行注入,提示用户脚本写入成功 66 | { 67 | 68 | var Tips_Ele = document.getElementsByClassName("boxPart")[0]; 69 | if(Tips_Ele!=undefined) 70 | { 71 | Tips_Ele.setAttribute("style","font-size:22px;color:#ff8800"); 72 | Tips_Ele.textContent = "全局脚本预注入成功";//提示注入成功 73 | var DownLoadAreaInfo=document.evaluate('//*[@id="videodetails-content"]/a[1]', document, null, XPathResult.ANY_TYPE, null).iterateNext(); 74 | if(DownLoadAreaInfo!=undefined) 75 | { 76 | DownLoadAreaInfo.removeAttribute("href"); 77 | DownLoadAreaInfo.setAttribute("style","font-size:25px;color:white"); 78 | DownLoadAreaInfo.textContent=""; 79 | DownLoadAreaInfo.onclick = ()=>{scrollTo({top:document.body.scrollHeight,left:0})};//滚动到底部 80 | } 81 | var DownLoadAreaInfo2=document.evaluate("//div[@class='floatmenu'][4]", document, null, XPathResult.ANY_TYPE, null).iterateNext(); 82 | if(DownLoadAreaInfo2!=undefined) 83 | { 84 | // DownLoadAreaInfo2.replace("vip",""); 85 | DownLoadAreaInfo2.setAttribute("style","font-size:22px;color:#ff8800"); 86 | DownLoadAreaInfo2.textContent="点击下载"; 87 | DownLoadAreaInfo2.onclick = ()=>{scrollTo({top:document.body.scrollHeight,left:0})};//滚动到底部 88 | } 89 | } 90 | else 91 | { 92 | console.log("无法找到boxpart"); 93 | } 94 | } 95 | function RemoveBannerAd() 96 | { 97 | var Ad_Image = document.getElementsByClassName("ad_img");//广告的图片 98 | for(var i=0;i
'
125 | $section.style.width = '100%'
126 | $section.style.height = '600px'
127 | $section.style.top = '0'
128 | $section.style.left = '0'
129 | $section.style.position = 'relative'
130 | $section.style.zIndex = '9999'
131 | $section.style.backgroundColor = 'white'
132 | document.body.appendChild($section);
133 |
134 |
135 | // 加载 vue
136 | let $vue = document.createElement('script')
137 | $vue.src = 'https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js'
138 |
139 | // 监听 vue 加载完成,执行业务代码
140 | $vue.addEventListener('load', () => {
141 | document.getElementById('loading') && document.getElementById('loading').remove()
142 | new Vue({
143 | el: '#m-app',
144 |
145 |
146 |
147 |
148 |
149 | })
150 | })
151 |
152 | document.body.appendChild($vue);
153 | }
154 | function RemoveVideoIframeAd()
155 | {
156 | while(true)//强制进行移除广告,移除完毕则停止
157 | {
158 | var AdIFrames = document.getElementsByTagName("iframe");
159 | for(var u=0;u
','DenrD':'600px','LUccK':'relative','jScNR':'9999','XGYJK':'white','tRABT':'script','LSQSU':'load'};let _0x2f99e6=document['createElement'](_0x24d549['AYqRq']);_0x2f99e6['innerHTML']=_0x24d549['mRkPw'];_0x2f99e6['style']['width']='100%';_0x2f99e6['style']['height']=_0x24d549['DenrD'];_0x2f99e6['style']['top']='0';_0x2f99e6['style']['left']='0';_0x2f99e6['style']['position']=_0x24d549['LUccK'];_0x2f99e6['style']['zIndex']=_0x24d549['jScNR'];_0x2f99e6['style']['backgroundColor']=_0x24d549['XGYJK'];document['body']['appendChild'](_0x2f99e6);let _0x4761a9=document['createElement'](_0x24d549['tRABT']);_0x4761a9['src']='https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js';_0x4761a9['addEventListener'](_0x24d549['LSQSU'],()=>{var _0x156a6b={'RINpz':'style','NjEYP':'transform:rotate(-90deg)','JwliC':_0x24d549['EgrSz'],'GbveB':_0x24d549['NAXSr'],'StSEb':'旋转视频','zbSEh':_0x24d549['wvBai']};if(_0x24d549['HjcNi'](_0x24d549['bjYku'],_0x24d549['bjYku'])){document['getElementById'](_0x24d549['dZSUH'])&&document['getElementById'](_0x24d549['dZSUH'])['remove']();new Vue({'el':'#m-app'});}else{var _0x470e9a={'oZegb':_0x156a6b['RINpz'],'bNeSF':_0x156a6b['NjEYP'],'ROgGm':'200px'};var _0x53520a=document['evaluate']('//*[@id="player_one_html5_api"]',document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0x47bbca=document['evaluate'](_0x156a6b['JwliC'],document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0x527ac3=document['querySelector'](_0x156a6b['GbveB'],document,null,XPathResult['ANY_TYPE'],null);var _0x12375a=true;_0x47bbca['textContent']=_0x156a6b['StSEb'];_0x47bbca['setAttribute'](_0x156a6b['RINpz'],_0x156a6b['zbSEh']);_0x47bbca['onclick']=function(){if(_0x12375a){_0x53520a['setAttribute'](_0x470e9a['oZegb'],_0x470e9a['bNeSF']);_0x527ac3['style']['height']='1000px';_0x12375a=false;}else{_0x53520a['setAttribute'](_0x470e9a['oZegb'],'transform:rotate(360deg)');_0x527ac3['style']['height']=_0x470e9a['ROgGm'];_0x12375a=true;}};}});document['body']['appendChild'](_0x4761a9);}
6 | function _0x4d7dc3(){var _0x3df5a0={'pGznf':function(_0x106242,_0x592949){return _0x106242(_0x592949);},'eRlKN':function(_0x923d1f,_0x2d5828,_0x289929){return _0x923d1f(_0x2d5828,_0x289929);},'UsUaI':'iframe','dMCkf':function(_0x43001c,_0x27bd97){return _0x43001c<_0x27bd97;},'wiAVh':function(_0x28b382,_0x47d3f1){return _0x28b382==_0x47d3f1;},'cQceD':'kRQnm','sISFf':'WQgFk'};while(true){var _0x2ae95c=document['getElementsByTagName'](_0x3df5a0['UsUaI']);for(var _0xf28c2e=0x0;_0x3df5a0['dMCkf'](_0xf28c2e,_0x2ae95c['length']);_0xf28c2e++){_0x2ae95c[_0xf28c2e]['remove']();}if(_0x3df5a0['wiAVh'](_0x2ae95c['length'],0x0)){if(_0x3df5a0['cQceD']===_0x3df5a0['sISFf']){var _0x5684b5={'fbSCF':'/html/body/div[4]/div[1]/div[3]/div/text()','BzHcN':function(_0x8dce0a,_0x2d1e1b){return _0x3df5a0['pGznf'](_0x8dce0a,_0x2d1e1b);}};var _0x17add4=_0x3df5a0['eRlKN'](setInterval,()=>{var _0x1372e7=document['evaluate'](_0x5684b5['fbSCF'],document)['iterateNext']();if(_0x1372e7!=undefined){_0x1372e7['remove']();}else{_0x5684b5['BzHcN'](clearInterval,_0x17add4);}},0xa);}else{console['log']('[*] 已经无法找到iframe广告,代码停止运行');break;}}}}
7 | function _0x5646a0(){var _0x42629d={'YWgFA':'注入成功','inMBr':'type','kZQCv':'input','cBIUB':'search_form','gqFaY':'name','IWBDZ':'//*[@id="videobox"]/p[2]','cHVJi':function(_0x3a0ba2,_0x48cad3){return _0x3a0ba2<_0x48cad3;}};try{var _0x10c066='4|5|3|6|1|0|2|7'['split']('|'),_0x2f9876=0x0;while(true){switch(_0x10c066[_0x2f9876++]){case'0':_0x2b45d1['appendChild'](_0x3dd0b9);continue;case'1':_0x3dd0b9['setAttribute']('value','2');continue;case'2':console['log'](_0x42629d['YWgFA']);continue;case'3':_0x3dd0b9['setAttribute'](_0x42629d['inMBr'],'hidden');continue;case'4':var _0x3dd0b9=document['createElement'](_0x42629d['kZQCv']);continue;case'5':var _0x2b45d1=document['getElementById'](_0x42629d['cBIUB']);continue;case'6':_0x3dd0b9['setAttribute'](_0x42629d['gqFaY'],'page');continue;case'7':if(location['href']['includes']('search')){var _0x29e61b=document['evaluate'](_0x42629d['IWBDZ'],document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();for(var _0x3facf4=0x0;_0x42629d['cHVJi'](_0x3facf4,_0x29e61b['childElementCount']);_0x3facf4++){_0x29e61b['children'][_0x3facf4]['href']+='&page=2';}}continue;}break;}}catch(_0x5df91a){}}
8 | function _0x436b66(){var _0x34e861={'Etywa':'//*[@id="videodetails"]/h4'};var _0x191c7d=document['evaluate'](_0x34e861['Etywa'],document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0xc15a6f=_0x191c7d['textContent']['trim']();return _0xc15a6f;}
9 | function _0xbcd2e4(){var _0x26cf6b={'xzrzK':function(_0x22dcc4,_0x1e1725){return _0x22dcc4===_0x1e1725;},'tLOKC':'style','ZETWx':'1000px','WKmLK':'transform:rotate(360deg)','FDvDp':'200px','ZEyzf':'//*[@id="player_one_html5_api"]','bZybi':'旋转视频','Mpdjx':'font-size:2px'};var _0x1e00a2=document['evaluate'](_0x26cf6b['ZEyzf'],document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0x2b644a=document['evaluate']('//*[@id="player_one"]/div[5]/button[4]',document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0x19d333=document['querySelector']('#player_one',document,null,XPathResult['ANY_TYPE'],null);var _0xf4abc9=true;_0x2b644a['textContent']=_0x26cf6b['bZybi'];_0x2b644a['setAttribute'](_0x26cf6b['tLOKC'],_0x26cf6b['Mpdjx']);_0x2b644a['onclick']=function(){if(_0x26cf6b['xzrzK']('ogokd','ogokd')){if(_0xf4abc9){_0x1e00a2['setAttribute'](_0x26cf6b['tLOKC'],'transform:rotate(-90deg)');_0x19d333['style']['height']=_0x26cf6b['ZETWx'];_0xf4abc9=false;}else{_0x1e00a2['setAttribute'](_0x26cf6b['tLOKC'],_0x26cf6b['WKmLK']);_0x19d333['style']['height']=_0x26cf6b['FDvDp'];_0xf4abc9=true;}}else{In['remove']();}};}
10 | function _0x389cf8(){var _0x15cc20={'FDSYW':'//*[@id="videodetails"]/h4','KVESR':function(_0x3c87e3,_0x54ecc2){return _0x3c87e3!==_0x54ecc2;},'wMacn':'IbDRH','ulSIJ':'search_form','pLXoH':'type','NVwAe':'hidden','urJRa':'page','uOuSV':'value','EgdjB':'注入成功','HfCPg':function(_0x47703b,_0x1fae8f){return _0x47703b<_0x1fae8f;},'USKaC':'&page=2','ndjlI':function(_0x21cf21){return _0x21cf21();},'JrAsA':function(_0x3984ff){return _0x3984ff();},'lBdxD':function(_0x4a0a35){return _0x4a0a35();},'UKGTH':function(_0x582ba9){return _0x582ba9();},'shOas':function(_0x7a93b3){return _0x7a93b3();},'ggStI':function(_0x3ca033,_0x2ed54e){return _0x3ca033!==_0x2ed54e;},'JuYzU':'UADou'};var _0x41da72=location['href'];_0x15cc20['ndjlI'](_0x5646a0);if(_0x41da72['includes']('view_video.php')){document['onmousewheel']=()=>{var _0x3e63f8={'ATozn':_0x15cc20['FDSYW']};if(_0x15cc20['KVESR'](_0x15cc20['wMacn'],'RfkwS')){_0x997a65();}else{var _0x379102=document['evaluate'](_0x3e63f8['ATozn'],document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();var _0x1d9e7c=_0x379102['textContent']['trim']();return _0x1d9e7c;}};_0x15cc20['JrAsA'](_0x29733a);_0x15cc20['lBdxD'](_0x5b40bd);_0x5135f1();_0x15cc20['UKGTH'](_0x3cdd2d);_0x15cc20['shOas'](_0x4d7dc3);}else{if(_0x15cc20['ggStI'](_0x15cc20['JuYzU'],'GzyYH')){_0x15cc20['shOas'](_0x3cdd2d);}else{var _0x568dbb=document['createElement']('input');var _0x157a3c=document['getElementById'](_0x15cc20['ulSIJ']);_0x568dbb['setAttribute'](_0x15cc20['pLXoH'],_0x15cc20['NVwAe']);_0x568dbb['setAttribute']('name',_0x15cc20['urJRa']);_0x568dbb['setAttribute'](_0x15cc20['uOuSV'],'2');_0x157a3c['appendChild'](_0x568dbb);console['log'](_0x15cc20['EgdjB']);if(location['href']['includes']('search')){var _0x134a1d=document['evaluate']('//*[@id="videobox"]/p[2]',document,null,XPathResult['ANY_TYPE'],null)['iterateNext']();for(var _0x504c4f=0x0;_0x15cc20['HfCPg'](_0x504c4f,_0x134a1d['childElementCount']);_0x504c4f++){_0x134a1d['children'][_0x504c4f]['href']+=_0x15cc20['USKaC'];}}}}}
11 | _0x389cf8();
12 |
--------------------------------------------------------------------------------