feat(themes): 骚猪主题

This commit is contained in:
streakingman
2022-09-21 19:27:29 +08:00
parent b3b5737e5c
commit 30bb7a0277
17 changed files with 41 additions and 5 deletions
+2 -2
View File
@@ -31,8 +31,8 @@
// 如果您基于此项目二创,可以删除以下代码
// 否则请标明原仓库地址
setTimeout(()=>{
const {host} = location
if(host!=='localhost'&&!host.endsWith('streakingman.com')){
const {hostname} = location
if(hostname!=='localhost'&&!hostname.endsWith('streakingman.com')){
const a = document.createElement('a')
a.setAttribute('href','https://github.com/StreakingMan/solvable-sheep-game')
a.setAttribute('target','_blank')