From b47adb41bce8184c94ae70073111836598b08641 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 13 Jul 2023 21:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJu.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 5d447d1c..a996b316 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -773,17 +773,16 @@ function erji() { let list_col_type = getItem('SrcJuList_col_type', 'text_2');//列表样式 for(let i=0; i<列表.length; i++) { - let extra = { - id: name + "_选集_" + i, - url: 列表[i].url, - cls: "loadlist playlist" - } + let extra = details.extra || {}; + extra.id = name + "_选集_" + i; + extra.url = 列表[i].url; + extra.cls = "loadlist playlist"; if(stype=="听书"||stype=="影视"){ extra.jsLoadingInject = true; let blockRules = ['.m4a', '.mp3', '.gif', '.jpeg', '.jpg', '.ico', '.png', 'hm.baidu.com', '/ads/*.js', 'cnzz.com', '51.la']; - if(details.blockRules && $.type(details.blockRules)=="array"){ + if(extra.blockRules && $.type(extra.blockRules)=="array"){ try{ - blockRules = blockRules.concat(details.blockRules); + blockRules = blockRules.concat(extra.blockRules); }catch(e){} } extra.blockRules = blockRules;