Sync all projects

This commit is contained in:
github-actions[bot]
2026-07-09 02:58:52 +00:00
parent 7e1a41d6d5
commit aea13108bd
17 changed files with 6182 additions and 4550 deletions
-27
View File
@@ -1,25 +1,5 @@
const currentDomain = window.location.origin;
async function dl(fileUrl, filename) {
try {
const response = await fetch(fileUrl);
if (!response.ok)
throw new Error(`HTTP 错误: ${response.status}`);
const blob = await response.blob();
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = filename;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
setTimeout(() => URL.revokeObjectURL(url), 100);
} catch (error) {
console.error('下载错误:', error);
}
}
async function getip() {
try {
const response = await fetch("/cdn-cgi/trace");
@@ -41,13 +21,6 @@ async function getip() {
return null;
}
function gh(path) {
const baseUrl = "https://gh.clun.top/raw.githubusercontent.com/FongMi/Release/refs/heads/";
if (path) {
window.open(baseUrl + path, '_blank');
}
}
$(document).ready(function() {
var timeLoad = performance.now();
$("#time").text("页面加载耗时 " + Math.round(timeLoad) + " 毫秒");
+1 -1
View File
@@ -1 +1 @@
ac8d4a711c0f650037e0a11b167c6731
0981fa565938014d4d55bf95b3437a35