Skip to content

Commit d24b47b

Browse files
committed
iqiyi
1 parent 98b3e2b commit d24b47b

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

VIP Video Cracker/VIP Video Cracker.user.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name VIP视频破解
33
// @name:en VIP Video Cracker
44
// @namespace hoothin
5-
// @version 1.8.1
5+
// @version 1.8.2
66
// @description 解析并破解各大视频站的VIP权限
77
// @description:en Crack VIP permissions of some chinese video sites
88
// @author hoothin
@@ -186,6 +186,17 @@
186186
}else if(location.protocol=="http:"){
187187
canEmbed=true;
188188
}
189+
var htmlVideo=document.querySelector("video");
190+
if(htmlVideo){
191+
var vi=setInterval(function(){
192+
if(htmlVideo.src){
193+
setTimeout(function() {
194+
htmlVideo.click();
195+
},1000);
196+
clearInterval(vi);
197+
}
198+
},500);
199+
}
189200
if(canEmbed){
190201
iframe.width=videoWidth;
191202
iframe.height=videoHeight;

0 commit comments

Comments
 (0)