更新 'SrcJySet.js'

pull/1/head
src48597962 2 years ago
parent 1746af1eec
commit ece1d0b4ae
  1. 1
      SrcJySet.js

@ -2252,6 +2252,7 @@ function Resourceimport(input,importtype,boxdy){
showLoading('检测'+(isboxdy?'TVBox订阅':'')+'文件有效性');
if(/\/storage\/emulated\//.test(input)){input = "file://" + input}
var html = request(input,{timeout:2000});
log(html);
var reg = /("([^\\\"]*(\\.)?)*")|('([^\\\']*(\\.)?)*')|(\/{2,}.*?(\r|\n|$))|(\/\*(\n|.)*?\*\/)/g;
html = html.replace(/api\"\:csp/g,'api":"csp').replace(reg, function(word) {
return /^\/{2,}/.test(word) || /^\/\*/.test(word) ? "" : word;

Loading…
Cancel
Save