Skip to content

Commit 6bedb9f

Browse files
committed
fix for iqiyi
1 parent 075d185 commit 6bedb9f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

VIP Video Cracker/VIP Video Cracker.user.js

Lines changed: 3 additions & 2 deletions
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.7.6
5+
// @version 1.7.7
66
// @description 解析并破解各大视频站的VIP权限
77
// @description:en Crack VIP permissions of some chinese video sites
88
// @author hoothin
@@ -39,6 +39,7 @@
3939
// @grant unsafeWindow
4040
// @grant GM_xmlhttpRequest
4141
// @license MIT License
42+
// @connect cache.video.qiyi.com
4243
// ==/UserScript==
4344

4445
(function() {
@@ -235,7 +236,7 @@
235236
if(vipVideoCrackEmbed)videoHeight="580px";
236237
}else if(iqiyi){
237238
document.querySelector('#widget-dramaseries').addEventListener('click', function(e){
238-
var target=e.target.parentNode;
239+
var target=e.target.parentNode.tagName=="LI"?e.target.parentNode:(e.target.parentNode.parentNode.tagName=="LI"?e.target.parentNode.parentNode:e.target.parentNode.parentNode.parentNode);
239240
if(target.tagName!="LI")return;
240241
GM_xmlhttpRequest({
241242
method: 'GET',

0 commit comments

Comments
 (0)