自定义代码(样式和脚本)
<script>
var observer = new MutationObserver(function(mutationsList, observer) {
var xpath = "/html/body/div/div/main/div[2]/section[1]/div[4]/div";
var container = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (container) {
observer.disconnect();
var existingImg = container.querySelector("img");
if (existingImg) {
container.removeChild(existingImg);
}
var imgElement = document.createElement("img");
imgElement.src = "https://img.sue.su/i/2024/12/12/675ae1368f7c4.png";
imgElement.style.position = "absolute";
imgElement.style.right = "8px";
imgElement.style.top = "-80px";
imgElement.style.zIndex = "10";
imgElement.style.width = "90px";
container.appendChild(imgElement);
}
});
var config = { childList: true, subtree: true };
observer.observe(document.body, config);
</script>
<script>
window.CustomBackgroundImage="https://w.wallhaven.cc/full/x6/wallhaven-x6qkgz.png"; /* 页面背景图 */
window.CustomLogo = "https://ice.frostsky.com/2024/12/23/00cc24a7f94b207fd8d34cddf8e47c76.jpeg"; /* 自定义Logo */
window.ShowNetTransfer = "true"; /* 卡片显示上下行流量 */
/*window.DisableAnimatedMan = "true";*/ /* 关掉动画人物插图 */
window.CustomIllustration = 'https://img.028029.xyz/1734592545615.png'; /*替换人物插图。如果需要关闭请把上面一行取消注释 */
window.CustomDesc ="MJJ:白嫖至上,技术先行"; /* 自定义描述 */
</script>
<script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/aixin.js"></script> <!-- 点击爱心特效 -->
<script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/yinghua.js"></script> <!-- 页面樱花效果 -->
<span class="js-cursor-container"></span>
<script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/xiaoxingxing.js"></script>
<!-- 以上鼠标特效 -->
效果展示:
公开备注设置教程:https://github.com/nezhahq/nezha/pull/425
{
"billingDataMod": {
"startDate": "2024-11-28T00:00:00+08:00",
"endDate": "2025-11-28T00:00:00+08:00",
"autoRenewal": "1",
"cycle": "年",
"amount": "13.99 美金"
},
"planDataMod": {
"bandwidth": "1G",
"trafficVol": "10TB/月",
"trafficType": "2",
"IPv4": "1",
"IPv6": "1",
"networkRoute": "回程:(国际线路 无优化) 去程:(三网各自骨干网) ",
"extra": "3C(CPU) 2.5G(内存) 24G(硬盘) 1G(宽带) 10T(双向流量) 备注:RN 2024 闪购1波"
}
}
serv00部署哪吒v1 agent
bash <(curl -Ls https://misaka.es/usr/uploads/serv00-nezha-v1.sh)
母鸡agentsecretkey目录 /opt/nezha/dashboard/data/config.yaml