logo NodeSeekbeta

哪吒v1主题的小改

面板更新后在网络卡片上多了一个卡通小人,也没找到关闭的方式 xhj001
写了一个样式脚本用于关闭
直接放在 自定义代码 中即可

<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 config = { childList: true, subtree: true };
observer.observe(document.body, config);
</script>

或者替换为其他图片 xhj010
image

<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>
12
  • bd

  • 最新版本吗?支持自定义了?

  • 可以,很好看

  • 知道页面背景怎么改么

  • 新版本屏蔽用这个

    <script>
      window.ShowNetTransfer  = "false";
      window.DisableAnimatedMan  = "true"; #屏蔽小人
      window.CustomBackgroundImage="https://背景图";
    </script>
    
  • 不错,不过还没更新

  • 改成黑丝 大肠腿

  • 可爱捏 xhj003

  • mark

  • bd

12

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

📈用户数目📈

目前论坛共有71644位seeker

🎉欢迎新用户🎉