update-10.01
This commit is contained in:
parent
3a452e68cb
commit
93351c8f91
|
@ -1,43 +1,42 @@
|
||||||
2021-09-25 00:31:47: ------------------- 规则更新 -----------------------
|
2021-10-01 00:35:57: ------------------- 规则更新 -----------------------
|
||||||
2021-09-25 00:31:47: ====================================================
|
2021-10-01 00:35:57: ====================================================
|
||||||
2021-09-25 00:31:47: 开始更新koolproxy的规则,请等待...
|
2021-10-01 00:35:57: 开始更新koolproxy的规则,请等待...
|
||||||
2021-09-25 00:31:47: ---------------------------------------------------------------------------------------
|
2021-10-01 00:35:57: ---------------------------------------------------------------------------------------
|
||||||
2021-09-25 00:31:49: ABP规则的本地版本号: 202109190023
|
2021-10-01 00:35:58: ABP规则的本地版本号: 202109250013
|
||||||
2021-09-25 00:31:49: ABP规则的在线版本号: 202109250013
|
2021-10-01 00:35:58: ABP规则的在线版本号: 202110010026
|
||||||
2021-09-25 00:31:49: 检测到 ABP规则 已更新,现在开始更新...
|
2021-10-01 00:35:58: 检测到 ABP规则 已更新,现在开始更新...
|
||||||
2021-09-25 00:31:49: 将临时的ABP规则文件移动到指定位置
|
2021-10-01 00:35:58: 将临时的ABP规则文件移动到指定位置
|
||||||
2021-09-25 00:31:49: kpr_our_rule2规则文件下载失败
|
2021-10-01 00:35:59: kpr_our_rule2规则文件下载失败
|
||||||
2021-09-25 00:31:49: yhosts规则本地版本号: !version: 202106172037
|
2021-10-01 00:35:59: yhosts规则本地版本号: !version: 202106172037
|
||||||
2021-09-25 00:31:49: yhosts规则在线版本号: #version: 202106172037
|
2021-10-01 00:35:59: yhosts规则在线版本号: #version: 202106172037
|
||||||
2021-09-25 00:31:49: 检测到 yhosts规则 已更新,现在开始更新...
|
2021-10-01 00:35:59: 检测到 yhosts规则 已更新,现在开始更新...
|
||||||
2021-09-25 00:31:49: 将临时文件覆盖到原始yhosts文件
|
2021-10-01 00:35:59: 将临时文件覆盖到原始yhosts文件
|
||||||
2021-09-25 00:31:49: 远程视频规则md5:e068116c27640e3b2f3d0731751f467e
|
2021-10-01 00:35:59: 远程视频规则md5:e068116c27640e3b2f3d0731751f467e
|
||||||
2021-09-25 00:31:49: 您本地视频规则md5:e068116c27640e3b2f3d0731751f467e
|
2021-10-01 00:35:59: 您本地视频规则md5:e068116c27640e3b2f3d0731751f467e
|
||||||
2021-09-25 00:31:49: 检测到 视频规则 本地版本号和在线版本号相同,那还更新个毛啊!
|
2021-10-01 00:35:59: 检测到 视频规则 本地版本号和在线版本号相同,那还更新个毛啊!
|
||||||
2021-09-25 00:31:49: fanboy规则本地版本号: 202103250121
|
2021-10-01 00:35:59: fanboy规则本地版本号: 202103250121
|
||||||
2021-09-25 00:31:49: fanboy规则在线版本号:
|
2021-10-01 00:35:59: fanboy规则在线版本号:
|
||||||
2021-09-25 00:31:49: fanboy规则 文件下载失败!
|
2021-10-01 00:35:59: fanboy规则 文件下载失败!
|
||||||
2021-09-25 00:31:49: antiad规则本地版本号: 20210918104807
|
2021-10-01 00:35:59: antiad规则本地版本号: 20210923024101
|
||||||
2021-09-25 00:31:49: antiad规则在线版本号: 20210923024101
|
2021-10-01 00:35:59: antiad规则在线版本号: 20210929154523
|
||||||
2021-09-25 00:31:49: 检测到新版本 antiad规则 列表,开始更新...
|
2021-10-01 00:35:59: 检测到新版本 antiad规则 列表,开始更新...
|
||||||
2021-09-25 00:31:49: 将临时文件覆盖到原始 antiad规则 文件
|
2021-10-01 00:35:59: 将临时文件覆盖到原始 antiad规则 文件
|
||||||
2021-09-25 00:31:50: StevenBlack规则本地版本号: 17 September
|
2021-10-01 00:36:00: StevenBlack规则本地版本号: 24 September
|
||||||
2021-09-25 00:31:50: StevenBlack规则在线版本号: 24 September
|
2021-10-01 00:36:00: StevenBlack规则在线版本号: 24 September
|
||||||
2021-09-25 00:31:50: 检测到新版本 StevenBlack规则 列表,开始更新...
|
2021-10-01 00:36:00: 检测到 StevenBlack规则 本地版本号和在线版本号相同,那还更新个毛啊!
|
||||||
2021-09-25 00:31:50: 将临时文件覆盖到原始 StevenBlack规则 文件
|
2021-10-01 00:36:00: 跳过优化 fanboy规则。。。。。
|
||||||
2021-09-25 00:31:50: 跳过优化 fanboy规则。。。。。
|
2021-10-01 00:36:00: 正在优化 ABP规则。。。。。
|
||||||
2021-09-25 00:31:50: 正在优化 ABP规则。。。。。
|
2021-10-01 00:36:02: 正在优化 补充规则yhosts。。。。。
|
||||||
2021-09-25 00:31:52: 正在优化 补充规则yhosts。。。。。
|
2021-10-01 00:36:03: 正在优化 补充规则antiad。。。。。
|
||||||
2021-09-25 00:31:53: 正在优化 补充规则antiad。。。。。
|
2021-10-01 00:36:03: 跳过优化 补充规则adwars。。。。。
|
||||||
2021-09-25 00:31:53: 跳过优化 补充规则adwars。。。。。
|
2021-10-01 00:36:03: 跳过优化 补充规则ADgkStevenBlack。。。。。
|
||||||
2021-09-25 00:31:53: 跳过优化 补充规则ADgkStevenBlack。。。。。
|
2021-10-01 00:36:03: 所有规则更新并优化完毕!
|
||||||
2021-09-25 00:31:53: 所有规则更新并优化完毕!
|
2021-10-01 00:36:03: ====================================================
|
||||||
2021-09-25 00:31:53: ====================================================
|
2021-10-01 00:36:09: -------------------Yhosts规则 version !version: 202106172037
|
||||||
2021-09-25 00:32:02: -------------------Yhosts规则 version !version: 202106172037
|
2021-10-01 00:36:09: -------------------ABP规则 version 202110010026
|
||||||
2021-09-25 00:32:02: -------------------ABP规则 version 202109250013
|
2021-10-01 00:36:09: -------------------Fanboy规则 version 202103250121
|
||||||
2021-09-25 00:32:02: -------------------Fanboy规则 version 202103250121
|
2021-10-01 00:36:09: -------------------Antiad规则 version 20210929154523
|
||||||
2021-09-25 00:32:02: -------------------Antiad规则 version 20210923024101
|
2021-10-01 00:36:09: -------------------静态规则 version 2020-02-27 23:00
|
||||||
2021-09-25 00:32:02: -------------------静态规则 version 2020-02-27 23:00
|
2021-10-01 00:36:09: -------------------乘风视频 version 202105021
|
||||||
2021-09-25 00:32:02: -------------------乘风视频 version 202105021
|
2021-10-01 00:36:09: ------------------- 内置规则更新成功! -------------------
|
||||||
2021-09-25 00:32:02: ------------------- 内置规则更新成功! -------------------
|
2021-10-01 00:36:09: ------------------- 规则更新成功! -------------------
|
||||||
2021-09-25 00:32:02: ------------------- 规则更新成功! -------------------
|
|
||||||
|
|
|
@ -4,55 +4,58 @@
|
||||||
-%>
|
-%>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
const doms = document.getElementsByClassName('pingtime');
|
window.addEventListener('load',function(){
|
||||||
const ports = document.getElementsByClassName("socket-connected");
|
const doms = document.getElementsByClassName('pingtime');
|
||||||
const transports = document.getElementsByClassName("transport");
|
const ports = document.getElementsByClassName("socket-connected");
|
||||||
const wsPaths = document.getElementsByClassName("wsPath");
|
const transports = document.getElementsByClassName("transport");
|
||||||
const tlss = document.getElementsByClassName("tls");
|
const wsPaths = document.getElementsByClassName("wsPath");
|
||||||
const xhr = (index) => {
|
const tlss = document.getElementsByClassName("tls");
|
||||||
return new Promise((res) => {
|
const xhr = (index) => {
|
||||||
const dom = doms[index];
|
return new Promise((res) => {
|
||||||
const port = ports[index];
|
const dom = doms[index];
|
||||||
const transport = transports[index];
|
const port = ports[index];
|
||||||
const wsPath = wsPaths[index];
|
const transport = transports[index];
|
||||||
const tls = tlss[index];
|
const wsPath = wsPaths[index];
|
||||||
if (!dom) res()
|
const tls = tlss[index];
|
||||||
port.innerHTML = '<font color="#0072c3">connect</font>';
|
if (!dom) res()
|
||||||
XHR.get('<%=luci.dispatcher.build_url("admin/services/shadowsocksr/ping")%>', {
|
port.innerHTML = '<font color="#0072c3">connect</font>';
|
||||||
index,
|
XHR.get('<%=luci.dispatcher.build_url("admin/services/shadowsocksr/ping")%>', {
|
||||||
domain: dom.getAttribute("hint"),
|
index,
|
||||||
port: port.getAttribute("hint"),
|
domain: dom.getAttribute("hint"),
|
||||||
transport: transport.getAttribute("hint"),
|
port: port.getAttribute("hint"),
|
||||||
wsPath: wsPath.getAttribute("hint"),
|
transport: transport.getAttribute("hint"),
|
||||||
tls: tls.getAttribute("hint")
|
wsPath: wsPath.getAttribute("hint"),
|
||||||
},
|
tls: tls.getAttribute("hint")
|
||||||
(x, result) => {
|
},
|
||||||
let col = '#ff0000';
|
(x, result) => {
|
||||||
if (result.ping) {
|
let col = '#ff0000';
|
||||||
if (result.ping < 300) col = '#ff3300';
|
if (result.ping) {
|
||||||
if (result.ping < 200) col = '#ff7700';
|
if (result.ping < 300) col = '#ff3300';
|
||||||
if (result.ping < 100) col = '#249400';
|
if (result.ping < 200) col = '#ff7700';
|
||||||
}
|
if (result.ping < 100) col = '#249400';
|
||||||
dom.innerHTML = `<font color="${col}">${(result.ping ? result.ping : "--") + " ms"}</font>`
|
}
|
||||||
if (result.socket) {
|
dom.innerHTML = `<font color="${col}">${(result.ping ? result.ping : "--") + " ms"}</font>`
|
||||||
port.innerHTML = '<font color="#249400">ok</font>';
|
if (result.socket) {
|
||||||
} else {
|
port.innerHTML = '<font color="#249400">ok</font>';
|
||||||
port.innerHTML = '<font color="#ff0000">fail</font>';
|
} else {
|
||||||
}
|
port.innerHTML = '<font color="#ff0000">fail</font>';
|
||||||
res();
|
}
|
||||||
});
|
res();
|
||||||
})
|
});
|
||||||
}
|
})
|
||||||
let task = -1;
|
|
||||||
const thread = () => {
|
|
||||||
task = task + 1
|
|
||||||
if (doms[task]) {
|
|
||||||
xhr(task).then(thread);
|
|
||||||
}
|
}
|
||||||
}
|
let task = -1;
|
||||||
for (let i = 0; i < 20; i++) {
|
const thread = () => {
|
||||||
thread()
|
task = task + 1
|
||||||
}
|
if (doms[task]) {
|
||||||
|
xhr(task).then(thread);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (let i = 0; i < 20; i++) {
|
||||||
|
thread()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
function cbi_row_drop(fromId, toId, store, isToBottom) {
|
function cbi_row_drop(fromId, toId, store, isToBottom) {
|
||||||
var fromNode = document.getElementById(fromId);
|
var fromNode = document.getElementById(fromId);
|
||||||
var toNode = document.getElementById(toId);
|
var toNode = document.getElementById(toId);
|
||||||
|
|
Loading…
Reference in New Issue