avatar

小E的博客

A text-focused Halo theme

  • 首页
  • 友链
  • About
Home 哪吒探针V1美化
文章

哪吒探针V1美化

Posted 2025-02-24 Updated 2025-02- 26
By xiao E
6~8 min read

自定义代码分享

前言,本篇教程参考来源 https://www.nodeseek.com/post-223592-1

探针背景图片和特效

<script>
window.CustomBackgroundImage="图片URL"; /* 页面背景图 */
</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://www.nodeseek.com/post-221811-1

当然也可以用哪吒官方的

https://nezhadash-docs.buycoffee.top/custom-code

不过我觉得论坛佬的更好,可以随意调整大小

<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 = "图片URL";
        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>

上下行流量、logo、描述

<script>
    window.CustomLogo = "图片URL"; /* 自定义Logo */
    window.ShowNetTransfer  = "true"; /* 卡片显示上下行流量 */
    window.DisableAnimatedMan  = "true"; /* 关掉动画人物插图 */
    window.CustomDesc ="MJJ:白嫖至上,技术先行"; /* 自定义描述 */
</script>

官方1.2.7版本新增手机版背景图自定义

<script> window.CustomMobileBackgroundImage="https://img.028029.xyz/1734591983003.png";
</script>

公开备注生成

https://nezhainfojson.pages.dev/

移除页脚符号

<style>kbd.bg-muted {  /* 移除页脚右键盘符号及字母 */display: none !important;}</style>

License:  XuanYi
Share

Further Reading

OLDER

NEWER

甲骨文 Oracle Cloud 开机教程

Recently Updated

  • YPT加密支付U卡使用流程与常见问题
  • Google voice忘记保号后,90%成功注册方法
  • 使用ClubSIM实现无限流量翻墙上网
  • Talkatone注册教程
  • 甲骨文 Oracle Cloud 开机教程

Trending Tags

Contents

©2025 小E的博客. Some rights reserved.

Using the Halo theme Chirpy