修改插件
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 00:01:45 +08:00
parent 7bc68457e9
commit cbd6250967
224 changed files with 61713 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
(function () {
document.documentElement.setAttribute('theme-mode', localStorage.getItem('theme-mode') || 'light')
document.documentElement.setAttribute('theme-color', localStorage.getItem('theme-color') || 'default')
if (localStorage.getItem('lang') == null) {
document.writeln('<script src="./lang/zh-cn.js"><\/script>')
} else {
document.writeln('<script src="./lang/' + localStorage.getItem('lang') + '.js"><\/script>')
}
}())