diff options
author | mayx | 2025-08-05 12:54:04 +0000 |
---|---|---|
committer | mayx | 2025-08-05 12:54:04 +0000 |
commit | 16c29c6d1f68637c22aa1d59c6c211fa766e1e55 (patch) | |
tree | 0ef656bdcd2e1202b45e58763fe6e168ebfca543 | |
parent | 043b1a6cf67d9382c79526acd34ae2a91b6809ca (diff) |
Update 2 files
- /Live2dHistoire/live2d/js/message.js
- /_data/proxylist.yml
-rw-r--r-- | Live2dHistoire/live2d/js/message.js | 18 | ||||
-rw-r--r-- | _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 = '嗨! 来自 谷歌搜索 的朋友!<br>欢迎访问<span style="color:#0099cc;">「 ' + document.title.split(' | ')[0] + ' 」</span>'; } } 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/ |