首页
推荐
文章导航
留言板
壁纸
导航
直播
友链
统计
关于
Search
1
可信、可持续的 AList 开源替代方案:OpenList
7 阅读
2
Linux系统下常用命令【不断补充】
4 阅读
3
分享一些免费的 ChatGPT 镜像网站
4 阅读
4
最新保姆级纯小白节点搭建教程,人人都能学会,目前最简单、最安全、最稳定的专属节点搭建方法
4 阅读
5
文艺小册子风格合集
4 阅读
默认
日常
学习
技术
登录
Search
标签搜索
cloudflare
白嫖
CF
docker
安装
脚本
壁纸
图片
Linux
Caddy
代码
哪吒
节点
域名
邮箱
github
搭建
桌面壁纸
手机壁纸
NAT
ws01
累计撰写
129
篇文章
累计收到
45
条评论
首页
栏目
默认
日常
学习
技术
页面
推荐
文章导航
留言板
壁纸
导航
直播
友链
统计
关于
搜索到
1
篇与
的结果
2025-06-08
移除NodeSeek推广
移除NodeSeek推广一、论坛扩展里面加入下面的代码就行了a.promotation-item:not([href*="nodeseek.com"]):not([href*="github.com"]):not([href*="nodequality.com"]) { display: none; }二、Adguard 推荐抄酒神的作业nodeseek.com###nsk-right-panel-container > div > a.promotation-item:matches-attr("href"=/^(?!^[^?#]*[nN][oO][dD][eE][sS][eE][eE][kK])(?!^[^?#]*[nN][oO][dD][eE][qQ][uU][aA][lL][iI][tT][yY]).*$/)三、油猴脚本 推荐抄酒神的作业// ==UserScript== // @name RemoveNodeSeekPromotions // @namespace http://tampermonkey.net/ // @version 1.0 // @description 移除右侧推广 // @author malibu // @match https://www.nodeseek.com/* // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; const removePromotionsByLinkPath = () => { const selector = '#nsk-right-panel-container a.promotation-item'; const adLinks = document.querySelectorAll(selector); if (adLinks.length === 0) { return; } adLinks.forEach(link => { if (link.style.display === 'none') { return; } const href = link.getAttribute('href'); if (!href || href.startsWith('javascript:')) { return; } try { const linkUrl = new URL(href, location.origin); const linkPart = (linkUrl.origin + linkUrl.pathname).toLowerCase(); const shouldKeep = linkPart.includes('nodeseek') || linkPart.includes('nodequality'); if (!shouldKeep) { link.style.setProperty('display', 'none', 'important'); } } catch (e) { } }); }; const observer = new MutationObserver(removePromotionsByLinkPath); observer.observe(document.documentElement, { childList: true, subtree: true }); })();
2025年06月08日
2 阅读
0 评论
0 点赞