From 16c29c6d1f68637c22aa1d59c6c211fa766e1e55 Mon Sep 17 00:00:00 2001
From: mayx
Date: Tue, 5 Aug 2025 12:54:04 +0000
Subject: Update 2 files
- /Live2dHistoire/live2d/js/message.js
- /_data/proxylist.yml---
Live2dHistoire/live2d/js/message.js | 18 +++++-------------
_data/proxylist.yml | 1 +
2 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/Live2dHistoire/live2d/js/message.js b/Live2dHistoire/live2d/js/message.js
index 1b85aac..775ffc4 100644
--- a/Live2dHistoire/live2d/js/message.js
+++ b/Live2dHistoire/live2d/js/message.js
@@ -1,5 +1,3 @@
-var home_Path = document.location.protocol + '//' + window.document.location.hostname + '/';
-
var userAgent = window.navigator.userAgent.toLowerCase();
console.log(userAgent);
var norunAI = ["android", "iphone", "ipod", "ipad", "windows phone"];
@@ -124,7 +122,7 @@ if (!norunFlag) {
text = '嗨! 来自 谷歌搜索 的朋友!
欢迎访问「 ' + document.title.split(' | ')[0] + ' 」';
}
} else {
- if (window.location.href == home_Path) { //主页URL判断,需要斜杠结尾
+ if (window.location.pathname == "/") { //主页URL判断,需要斜杠结尾
var now = (new Date()).getHours();
if (now > 23 || now <= 5) {
text = '你是夜猫子呀?这么晚还不睡觉,明天起的来嘛?';
@@ -454,16 +452,10 @@ if (!norunFlag) {
}
$(document).ready(function () {
var AIimgSrc = [
- home_Path + message_Path + "model/histoire/histoire.1024/texture_00.png",
- home_Path + message_Path + "model/histoire/histoire.1024/texture_01.png",
- home_Path + message_Path + "model/histoire/histoire.1024/texture_02.png",
- home_Path + message_Path + "model/histoire/histoire.1024/texture_03.png",
- home_Path + message_Path + "images/info.png",
- home_Path + message_Path + "images/music.png",
- home_Path + message_Path + "images/pasue.png",
- home_Path + message_Path + "images/quite.png",
- home_Path + message_Path + "images/talk.png",
- home_Path + message_Path + "images/youdu.png"
+ message_Path + "model/histoire/histoire.1024/texture_00.png",
+ message_Path + "model/histoire/histoire.1024/texture_01.png",
+ message_Path + "model/histoire/histoire.1024/texture_02.png",
+ message_Path + "model/histoire/histoire.1024/texture_03.png"
]
var images = [];
var imgLength = AIimgSrc.length;
diff --git a/_data/proxylist.yml b/_data/proxylist.yml
index b4f1f6a..c9e6dcc 100644
--- a/_data/proxylist.yml
+++ b/_data/proxylist.yml
@@ -15,6 +15,7 @@ mirrors:
- https://mayx.pages.gay/
- https://mayx.vercel.app/
- https://mayx.netlify.app/
+- https://mabbs.kinsta.page/
- https://mayx.codeberg.page/
- https://mayx.4everland.app/
- https://unmayx.bitbucket.io/
--
cgit v1.2.3