1
0
mirror of https://github.com/Mabbs/mabbs.github.io synced 2025-08-09 02:12:03 +00:00

Update 2 files

- /Live2dHistoire/live2d/js/message.js
- /_data/proxylist.yml
This commit is contained in:
mayx 2025-08-05 12:54:04 +00:00
parent 043b1a6cf6
commit 16c29c6d1f
2 changed files with 6 additions and 13 deletions

View File

@ -1,5 +1,3 @@
var home_Path = document.location.protocol + '//' + window.document.location.hostname + '/';
var userAgent = window.navigator.userAgent.toLowerCase(); var userAgent = window.navigator.userAgent.toLowerCase();
console.log(userAgent); console.log(userAgent);
var norunAI = ["android", "iphone", "ipod", "ipad", "windows phone"]; 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>'; text = '嗨! 来自 谷歌搜索 的朋友!<br>欢迎访问<span style="color:#0099cc;">「 ' + document.title.split(' | ')[0] + ' 」</span>';
} }
} else { } else {
if (window.location.href == home_Path) { //主页URL判断需要斜杠结尾 if (window.location.pathname == "/") { //主页URL判断需要斜杠结尾
var now = (new Date()).getHours(); var now = (new Date()).getHours();
if (now > 23 || now <= 5) { if (now > 23 || now <= 5) {
text = '你是夜猫子呀?这么晚还不睡觉,明天起的来嘛?'; text = '你是夜猫子呀?这么晚还不睡觉,明天起的来嘛?';
@ -454,16 +452,10 @@ if (!norunFlag) {
} }
$(document).ready(function () { $(document).ready(function () {
var AIimgSrc = [ var AIimgSrc = [
home_Path + message_Path + "model/histoire/histoire.1024/texture_00.png", message_Path + "model/histoire/histoire.1024/texture_00.png",
home_Path + message_Path + "model/histoire/histoire.1024/texture_01.png", message_Path + "model/histoire/histoire.1024/texture_01.png",
home_Path + message_Path + "model/histoire/histoire.1024/texture_02.png", message_Path + "model/histoire/histoire.1024/texture_02.png",
home_Path + message_Path + "model/histoire/histoire.1024/texture_03.png", 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"
] ]
var images = []; var images = [];
var imgLength = AIimgSrc.length; var imgLength = AIimgSrc.length;

View File

@ -15,6 +15,7 @@ mirrors:
- https://mayx.pages.gay/ - https://mayx.pages.gay/
- https://mayx.vercel.app/ - https://mayx.vercel.app/
- https://mayx.netlify.app/ - https://mayx.netlify.app/
- https://mabbs.kinsta.page/
- https://mayx.codeberg.page/ - https://mayx.codeberg.page/
- https://mayx.4everland.app/ - https://mayx.4everland.app/
- https://unmayx.bitbucket.io/ - https://unmayx.bitbucket.io/