From de1a3ee834c17ecbf5531b41eca5e00be5811df9 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 13 Jul 2023 21:48:59 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 3d7a1775..ec99ca66 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -774,7 +774,6 @@ function erji() { let list_col_type = getItem('SrcJuList_col_type', 'text_2');//列表样式 for(let i=0; i<列表.length; i++) { let extra = details["extra"] || {}; - log(extra.blockRules); extra.id = name + "_选集_" + i; extra.url = 列表[i].url; extra.cls = "loadlist playlist"; @@ -783,7 +782,7 @@ function erji() { let blockRules = ['.m4a', '.mp3', '.gif', '.jpeg', '.jpg', '.ico', '.png', 'hm.baidu.com', '/ads/*.js', 'cnzz.com', '51.la']; if(extra.blockRules && $.type(extra.blockRules)=="array"){ try{ - blockRules = blockRules.concat(extra.blockRules); + blockRules = Object.assign(blockRules,extra.blockRules); }catch(e){} } extra.blockRules = blockRules;