|
|
|
@ -639,25 +639,9 @@ var SrcParseS = { |
|
|
|
|
//let rurl = JSON.parse(html).url || JSON.parse(html).data;
|
|
|
|
|
return rurl; |
|
|
|
|
} |
|
|
|
|
function extraJS(playUrl) { |
|
|
|
|
if(/jqqzx\.me|dadazhu\.me/.test(playUrl)){ |
|
|
|
|
return $.toString(() => { |
|
|
|
|
function check() { |
|
|
|
|
try { |
|
|
|
|
let iframe = document.querySelector('#playleft iframe'); |
|
|
|
|
let iframeDocument = iframe.contentDocument || iframe.contentWindow.document; |
|
|
|
|
iframeDocument.querySelector("#start").click(); |
|
|
|
|
} catch (e) { |
|
|
|
|
setTimeout(check, 200); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
check(); |
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
|
return undefined; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function exeWebRule(webUrl, music) { |
|
|
|
|
require(config.依赖.replace(/[^/]*$/,'') + 'SrcJyMethod.js'); |
|
|
|
|
return executeWebRule(webUrl, $.toString((music) => { |
|
|
|
|
try{ |
|
|
|
|
if (typeof (request) == 'undefined' || !request) { |
|
|
|
@ -683,7 +667,7 @@ var SrcParseS = { |
|
|
|
|
},music), { |
|
|
|
|
blockRules: ['.m4a','.mp3','.gif','.jpg','.jpeg','.png','.ico','hm.baidu.com','/ads/*.js','/klad/*.php','layer.css'], |
|
|
|
|
jsLoadingInject: true, |
|
|
|
|
js: extraJS(webUrl), |
|
|
|
|
js: jsClick(webUrl), |
|
|
|
|
//ua: head['User-Agent'] || MOBILE_UA,
|
|
|
|
|
//referer: head['referer'] || "",
|
|
|
|
|
checkTime: 100, |
|
|
|
|