我在干什么(

This commit is contained in:
MoonLeeeaf
2025-04-13 15:40:28 +08:00
parent 1277f208f7
commit f76954a702
20 changed files with 4304 additions and 428 deletions

View File

@@ -0,0 +1,30 @@
/*
* ©2024 The LingChair Project
*
* Make a more colorful world...
*
* License - Apache License 2.0
* Author - @MoonLeeeaf <https://github.com/MoonLeeeaf>
* Organization - @LingChair <https://github.com/LingChair>
*/
/**
* ========================================================
* 移动端检测
* ========================================================
*/
const isMobile = () => ('ontouchstart' in document.documentElement)
/**
* ========================================================
* 移动端调试
* ========================================================
*/
if (isMobile()) {
let a = document.createElement('script')
a.src = "https://unpkg.com/eruda/eruda.js"
a.onload = () => eruda.init()
document.head.appendChild(a)
}