From 72b83478859c5c0fa60a399c8b47249bea85e658 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 28 Nov 2022 17:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyXunmi.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyXunmi.js | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/SrcJyXunmi.js b/SrcJyXunmi.js index 80d47054..3a255587 100644 --- a/SrcJyXunmi.js +++ b/SrcJyXunmi.js @@ -1308,10 +1308,28 @@ function xunmierji(type,ua) { }else{ //网页 } + let extra = { + id: playurl, + referer: playurl, + jsLoadingInject: true, + blockRules: ['.m4a', '.mp3', '.gif', '.jpeg', '.jpg', '.ico', '.png', 'hm.baidu.com', '/ads/*.js', 'cnzz.com'] + } + if(getMyVar('superwebM3U8') == "1"){ + extra.cacheM3u8 = true; + } + if(getItem('enabledpush','')=='1'){ + extra.longClick = [{ + title: "推送至TVBOX", + js: $.toString((play) => { + putMyVar('pushboxplay','1'); + return play; + },playurl + DTJX) + }] + } d.push({ title: getHead(playtitle.replace(/第|集|话|期|-|new|最新|新/g, ''), Color3), url: playurl + DTJX, - extra: { id: playurl, referer: playurl, jsLoadingInject: true, cacheM3u8: getMyVar('superwebM3U8')=="1"?true:false, blockRules: ['.m4a','.mp3','.gif','.jpeg','.jpg','.ico','.png','hm.baidu.com','/ads/*.js','cnzz.com'] }, + extra: extra, col_type: list.length > 4 && len < 7 ? 'text_4' : len > 20 ? 'text_1' :'text_3' }); } else {