From de09154124049026abd8f01c0c96dfe85b94fbfc Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 10 May 2024 10:36:36 +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 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/SrcJu.js b/SrcJu.js index 988bf886..613d6f96 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -956,15 +956,11 @@ function erji() { }catch(e){} extra.id = name + "_选集_" + (pageid?pageid+"_":"") + i; extra.cls = "Juloadlist playlist"; - if(stype=="听书"||stype=="影视"){ + if(stype=="听书"||stype=="影视"||stype=="音乐"){ extra.jsLoadingInject = true; - 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 = Object.assign(blockRules,extra.blockRules); - }catch(e){} + if(!extra.blockRules){ + extra.blockRules = ['.m4a', '.mp3', '.gif', '.jpeg', '.jpg', '.ico', '.png', 'hm.baidu.com', '/ads/*.js', 'cnzz.com', '51.la']; } - extra.blockRules = blockRules; } if(list_col_type.indexOf("_left")>-1){ extra.textAlign = 'left';