Merge pull request #45 from iLay1678/master
自定义版权去除jq引用,添加wxpush示例 Co-authored-by: iLay1678 < 7021399+iLay1678@users.noreply.github.com>
This commit is contained in:
commit
443c9b50c2
37
README.md
37
README.md
@ -40,7 +40,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
```
|
```
|
||||||
- 默认主题修改LOGO、移除版权示例(来自 mehui@hostloc 初版运用了XSS,有一点不足就是可以直接使用 pure JavaScript 实现用了 jQuery,欢迎PR)
|
- 默认主题修改LOGO、移除版权示例(来自 [@iLay1678](https://github.com/iLay1678),欢迎PR)
|
||||||
|
|
||||||
```
|
```
|
||||||
<style>
|
<style>
|
||||||
@ -54,12 +54,15 @@
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
|
<script>
|
||||||
<script>$(function(){
|
window.onload = function(){
|
||||||
$("div.is-size-7").html("Powered by 你的名字").css("visibility","visible");
|
var avatar=document.querySelector(".item img")
|
||||||
$(".item img").attr('src','你的方形logo').css("visibility","visible");
|
var footer=document.querySelector("div.is-size-7")
|
||||||
$("[rel='shortcut icon']").attr('href','你的方形logo');
|
footer.innerHTML="Powered by 你的名字"
|
||||||
});
|
footer.style.visibility="visible"
|
||||||
|
avatar.src="你的方形logo地址"
|
||||||
|
avatar.style.visibility="visible"
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -79,6 +82,8 @@
|
|||||||
|
|
||||||
1. 添加通知方式
|
1. 添加通知方式
|
||||||
|
|
||||||
|
- 示例1
|
||||||
|
|
||||||
- 备注:server酱
|
- 备注:server酱
|
||||||
|
|
||||||
- URL:https://sc.ftqq.com/SCUrandomkeys.send
|
- URL:https://sc.ftqq.com/SCUrandomkeys.send
|
||||||
@ -92,6 +97,24 @@
|
|||||||
|
|
||||||
请求方式为 GET 时面板会将 `Body` 里面的参数拼接到 URL 的 query 里面
|
请求方式为 GET 时面板会将 `Body` 里面的参数拼接到 URL 的 query 里面
|
||||||
|
|
||||||
|
|
||||||
|
- 示例2
|
||||||
|
|
||||||
|
- 备注: wxpusher
|
||||||
|
- URL:http://wxpusher.zjiecode.com/api/send/message
|
||||||
|
|
||||||
|
- 请求方式: GET
|
||||||
|
|
||||||
|
- 请求类型: JSON
|
||||||
|
|
||||||
|
- Body: ```
|
||||||
|
{
|
||||||
|
"appToken":"你的appToken",
|
||||||
|
"content":"#NEZHA#",
|
||||||
|
"contentType":"1",
|
||||||
|
"uid":"你的uid"
|
||||||
|
}```
|
||||||
|
|
||||||
2. 添加一个离线报警
|
2. 添加一个离线报警
|
||||||
|
|
||||||
- 备注:离线通知
|
- 备注:离线通知
|
||||||
|
Loading…
x
Reference in New Issue
Block a user