Greasy Fork

来自缓存

Greasy Fork is available in English.

Hide NDM Video Download Button

在不禁用 Neat Download Manager 插件的情况下,移除其注入到页面中的下载浮层

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
jetako
日安装量
0
总安装量
9
评分
0 0 0
版本
1.0
创建于
2026-01-09
更新于
2026-01-09
大小
4.0 KB
许可证
MIT
适用于
所有网站

📌 简介 / Description

中文

本脚本用于移除 Neat Download Manager 浏览器扩展在网页中自动注入的下载浮层(基于 <table> 的 UI 结构,如 neatHCell*),
不禁用、不影响插件本体功能 的前提下,保持页面界面整洁。

脚本通过监听 DOM 变化(MutationObserver),在检测到相关注入结构后自动移除对应浮层,
仅作用于页面展示层,不会拦截下载、不修改网络请求,也不会影响视频播放。


English

This userscript removes the overlay UI injected by Neat Download Manager (table-based elements such as neatHCell*)
without disabling or breaking the extension itself.

It watches DOM mutations and automatically removes the injected overlay when detected.
The script only affects page UI, does not block downloads, network requests, or media playback.


✨ 功能特性 / Features

中文

  • 精准移除 Neat Download Manager 注入的下载浮层(table + neatHCell*
  • 基于扩展资源 URL(chrome-extension://...)与 DOM 特征双重识别
  • 使用 MutationObserver,支持动态注入页面
  • 不影响插件本体下载功能
  • 不影响页面原有脚本与播放器行为

English

  • Precisely removes Neat Download Manager injected overlay (table-based UI)
  • Detects by extension resource URL and DOM signature
  • Uses MutationObserver to handle dynamically injected elements
  • Keeps the downloader extension fully functional
  • Does not interfere with page scripts or video playback

🛠 工作原理 / How It Works

中文

脚本会检测页面中是否出现以下特征之一:

  • 引用了 Neat Download Manager 扩展资源的元素
  • 含有 id="neatHCell*" 的表格结构

一旦命中,脚本会定位并移除对应的浮层容器(通常是高 z-index 的 overlay 节点)。


English

The script detects injected elements by:

  • References to Neat Download Manager extension resources
  • Table structures containing id="neatHCell*"

Once detected, the corresponding overlay container (usually a high z-index element) is removed.


⚠️ 注意事项 / Notes

中文

  • 本脚本不会修改或破解任何扩展功能
  • 仅用于隐藏/移除页面中的 UI 注入元素
  • 若未来扩展更改注入结构,脚本可能需要更新

English

  • This script does not modify or bypass extension functionality
  • It only removes injected UI elements from the page
  • Future extension updates may require script adjustments

📄 许可 / License

MIT License