|
2 | 2 | // @name VIP视频破解 |
3 | 3 | // @name:en VIP Video Cracker |
4 | 4 | // @namespace hoothin |
5 | | -// @version 1.6.6 |
| 5 | +// @version 1.6.7 |
6 | 6 | // @description 解析并破解各大视频站的VIP权限 |
7 | 7 | // @description:en Crack VIP permissions of some chinese video sites |
8 | 8 | // @author hoothin |
|
64 | 64 | {name:"土豪网",url:"http://www.tuhao13.com/yunparse/index.php?url=%s"}, |
65 | 65 | {name:"舞动秋天",url:"http://qtzr.net/s/?qt=%s"}, |
66 | 66 | {name:"97在线看",url:"http://www.97zxkan.com/jiexi/97zxkanapi.php?url=%s"}, |
| 67 | + {name:"迷失之梦",url:"http://mt2t.com/yun?url=%s",title:"这个解析站似乎不大稳定"}, |
67 | 68 | {name:"无名小站源",url:"http://www.sfsft.com/admin.php?url=%s",title:"无名小站的源"}, |
68 | 69 | {name:"疯狂解析",url:"http://vip.ifkdy.com/?url=%s",title:"仅是简单嵌了47影视云、小海解析等几个解析站"}, |
69 | 70 | {name:"VIP看看",url:"http://2.jx.72du.com/video.php?url=%s",title:"嵌了无名小站的服务"}, |
70 | 71 | {name:"歪歪电影",url:"http://www.yydy8.com/common/?url=%s",title:"嵌了47影视云的服务"}, |
71 | 72 | {name:"梦中人",url:"http://www.wpswan.com/mzr/vipparse/index.php?url=%s",title:"嵌了47影视云的服务"}, |
72 | | - {name:"迷失之梦",url:"http://mt2t.com/yun?url=%s",title:"这个解析站似乎不大稳定"}, |
73 | 73 | {name:"71ki解析",url:"http://jx.71ki.com/tong.php?url=%s"}, |
74 | 74 | {name:"CloudParse",url:"http://api.cloudparse.com/?url=%s"}, |
75 | 75 | {name:"10号影院",url:"http://player.gakui.top/?url=%s"}, |
76 | 76 | {name:"PPYPP",url:"http://www.ppypp.com/yunparse/?url=%s"}, |
77 | | - //{name:"百域阁",url:"http://api.svip.baiyug.cn/svip/index.php?url=%s"}, |
| 77 | + {name:"百域阁",url:"http://api.svip.baiyug.cn/svip/index.php?url=%s"}, |
78 | 78 | ],video,videoWidth,videoHeight,i=0; |
79 | 79 | var iqiyi=location.hostname.indexOf("iqiyi.com")!=-1; |
80 | | - var yinyuetai=location.hostname.indexOf("v.yinyuetai.com")!=-1; |
81 | 80 | var vipVideoCrackJump=GM_getValue("vipVideoCrackJump"); |
82 | 81 | var vipVideoCrackEmbed=GM_getValue("vipVideoCrackEmbed"); |
83 | 82 | var vipVideoCrackUrl=GM_getValue("vipVideoCrackUrl"); |
|
113 | 112 | }else{ |
114 | 113 | vipVideoCrackUrl=value; |
115 | 114 | GM_setValue("vipVideoCrackUrl",vipVideoCrackUrl); |
116 | | - if(video.parentNode && !yinyuetai)video.parentNode.replaceChild(placeholder,video); |
| 115 | + if(video.parentNode)video.parentNode.replaceChild(placeholder,video); |
117 | 116 | } |
118 | 117 | if(!vipVideoCrackEmbed || !embedCrack(url)){ |
119 | 118 | unsafeWindow.open(url); |
|
155 | 154 | var url=value.replace("%s",(iqiyi?location.href.replace(/#.*/,""):location.href)); |
156 | 155 | if(!vipVideoCrackEmbed || !embedCrack(url)){ |
157 | 156 | GM_openInTab(url,false); |
158 | | - if(video.parentNode && !yinyuetai)video.parentNode.replaceChild(placeholder,video); |
| 157 | + if(video.parentNode)video.parentNode.replaceChild(placeholder,video); |
159 | 158 | } |
160 | 159 | } |
161 | 160 | } |
|
197 | 196 | videoWidth=videoStyle.width; |
198 | 197 | videoHeight=videoStyle.height; |
199 | 198 | var videoParent=video.parentNode; |
200 | | - if(yinyuetai){ |
201 | | - videoParent.parentNode.style.position="absolute"; |
202 | | - videoStyle=unsafeWindow.getComputedStyle(videoParent.parentNode, null); |
203 | | - videoWidth=videoStyle.width; |
204 | | - videoHeight=videoStyle.height; |
| 199 | + if(location.hostname.indexOf("v.yinyuetai.com")!=-1){ |
| 200 | + if (!/^https?:\/\/v\.yinyuetai\.com\/video\/h5\//.test(location.href)) { |
| 201 | + unsafeWindow.location.href = unsafeWindow.location.href.replace(/^https?:\/\/v\.yinyuetai\.com\/video\//,"http://v.yinyuetai.com/video/h5/"); |
| 202 | + }else{ |
| 203 | + videoParent.parentNode.style.position="absolute"; |
| 204 | + setTimeout(function(){ |
| 205 | + videoStyle=unsafeWindow.getComputedStyle(video, null); |
| 206 | + videoWidth=videoStyle.width; |
| 207 | + videoHeight=videoStyle.height; |
| 208 | + },500); |
| 209 | + } |
205 | 210 | } |
206 | 211 | videoParent.appendChild(crackArea); |
207 | 212 | placeholder.style.lineHeight=unsafeWindow.getComputedStyle(videoParent).height; |
|
0 commit comments