docs: 增加声明

This commit is contained in:
streakingman 2022-09-21 10:10:13 +08:00
parent 78ab02e371
commit 43c017f19b
2 changed files with 20 additions and 0 deletions

View File

@ -16,6 +16,9 @@
坑爹的小游戏本来玩法挺有意思的非得恶心人根本无解99.99%无解),气的我自己写了个 demo
扫二维码或<a href="https://solvable-sheep-game.streakingman.com/" target="_blank">pc 浏览器体验</a>
**声明:本项目仅供交流,禁止商用!否则后果自负。基于此项目的二创都是欢迎的,但非二创请不要删除原仓库地址
(啥都不改唯独删除来源我真的会谢🙄️,请尊重他人劳动成果)**
![qrcode.png](qrcode.png)
## Feature

View File

@ -27,5 +27,22 @@
async
src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"
></script>
<script async>
// 如果您基于此项目二创,可以删除以下代码
// 否则请标明原仓库地址
setTimeout(()=>{
const {host} = location
if(host!=='localhost'||!host.endsWith('streakingman.com')){
const a = document.createElement('a')
a.setAttribute('href','https://github.com/StreakingMan/solvable-sheep-game')
a.setAttribute('target','_blank')
a.innerText='本项目仅供交流禁止商业用途点击查看原github仓库'
const p = document.createElement('p')
p.style.textAlign = 'center'
p.append(a)
document.body.prepend(p)
}
},5000)
</script>
</body>
</html>