星辰和鸡腿一样显示在系统通知以后,似乎大家点赞的频率更高了

jtyytzl 2026-08-21 01:32 1

以前很多帖子发了都是鸡腿拿了一堆,都没几个星辰,结果昨天一天感觉就有快 10 个星辰了 ^-^


超级棒,也超级有感的改动 ^-^

最新回复 (11)
  • 沐初 08-21 01:34
    1

    话说星辰是干嘛的

  • jtyytzl 楼主 08-21 01:35
    2

    @沐初 #1 就跟鸡腿一样,类似于可以表示肯定,就是鸡腿左边这个点赞按钮,200 个星辰可以换一个邀请码。

  • 酒神 08-21 01:35
    3

    以后要主打星辰兑换邀请码了,把相关的地方做完善一些

    星辰的社交性更好更透明,拿来悬赏或者求助之类的都行

    虽然星辰可以短期内大量获取(如转账或者要求点赞才能抽奖),但不会影响ns的等级信任机制

  • 冬天 08-21 01:37
    4

    @酒神 #3 好奇还会开放tg申请吗

  • sihasihainns 08-21 01:37
    5

    @沐初 #1

    https://www.deepflood.com/post-28793-1

  • cshaizhihao 08-21 01:42
    6

    @酒神 #3 你不理我 我好伤心。

  • wuzhong 08-21 01:42
    7

    没了解

  • moonay 08-21 01:47
    8

    不回复不能点赞 ^-^

  • xirigin 08-21 06:24
    9

    星辰过于廉价,感觉又是一种泛滥的开始

  • 80hou 08-21 09:57
    10

    @cshaizhihao #6


    大哥。在我"眼里",你就是侦探🕵️‍



    "侦探"标签摆在面前你没拿下,后悔莫及?不用等一万年!(娱乐版)
    // ==UserScript==
    // @name NodeSeek 侦探标签渲染器 (温和极速版)
    // @namespace https://www.nodeseek.com/
    // @version 0.5.0
    // @description 脱离第三方元素依赖,原生温和挂载,无全量扫描,超低内存与 CPU 占用
    // @match https://www.nodeseek.com/*
    // @match https://www.deepflood.com/*
    // @run-at document-idle
    // @grant none
    // @license MIT
    // ==/UserScript==

    (() => {
    "use strict";

    // 1. 目标 UID 配置
    const DETECTIVE_UIDS = ["38057"];

    const BADGE_CLASS = "nsk-detective-badge";

    // 2. 注入轻量样式
    function injectStyle() {
    if (document.getElementById("nsk-detective-style")) return;
    const style = document.createElement("style");
    style.id = "nsk-detective-style";
    style.textContent = `
    .${BADGE_CLASS} {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    margin-left: 6px;
    font-size: 11px;
    line-height: 14px;
    height: 18px;
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    letter-spacing: 0.5px;
    font-weight: 500;
    vertical-align: middle;
    user-select: none;
    box-sizing: border-box;
    }
    @media (prefers-color-scheme: dark) {
    .${BADGE_CLASS} {
    color: #e0e0e0;
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    }
    }
    `;
    document.head.appendChild(style);
    }

    // 3. 核心挂载逻辑(直接基于原生 .author-info 容器)
    function processAuthorInfo(container) {
    if (!(container instanceof HTMLElement)) return;
    if (container.querySelector(`.${BADGE_CLASS}`)) return;

    // 锁定当前作者的原生主页链接(排除悬浮卡片等杂项)
    const authorLink = container.querySelector("a[href^='/space/']:not(.nsx-user-info-display a)");
    if (!authorLink) return;

    const match = (authorLink.getAttribute("href") || "").match(/\/space\/(\d+)/);
    if (!match) return;

    const uid = match[1];
    if (DETECTIVE_UIDS.length > 0 && !DETECTIVE_UIDS.includes(uid)) return;

    // 创建标签
    const badge = document.createElement("span");
    badge.className = BADGE_CLASS;
    badge.textContent = "侦探";
    badge.title = `侦探认证 (UID: ${uid})`;

    // 温和追加至作者信息行末尾(无论是否有管理记录或楼主标,均自动排在最后)
    container.appendChild(badge);
    }

    // 4. 增量节点扫描
    function scanNodes(root = document) {
    if (!root || !root.querySelectorAll) return;
    const targets = root.querySelectorAll(".author-info, .info-author");
    for (let i = 0; i < targets.length; i++) {
    processAuthorInfo(targets[i]);
    }
    }

    // 5. 温和监听器(仅处理新增节点,拒绝全局扫描)
    function init() {
    injectStyle();
    scanNodes(document);

    const observer = new MutationObserver((mutations) => {
    for (const m of mutations) {
    for (const node of m.addedNodes) {
    if (node.nodeType !== 1) continue; // 仅处理 ELEMENT_NODE
    if (node.classList?.contains(BADGE_CLASS) || node.classList?.contains("layui-layer")) continue;

    if (node.matches?.(".author-info, .info-author")) {
    processAuthorInfo(node);
    } else if (node.querySelectorAll) {
    scanNodes(node);
    }
    }
    }
    });

    // 仅监听主体内容区
    const targetArea = document.querySelector(".nsk-container, #nsk-body, main") || document.body;
    observer.observe(targetArea, { childList: true, subtree: true });
    }

    if (document.readyState === "loading") {
    document.addEventListener("DOMContentLoaded", init, { once: true });
    } else {
    init();
    }
    })();

  • -可鸽可弃- 08-21 10:00
    11

    那大家来点点赞吧!

* 帖子来源NodeSeek
返回