YouTube Branding Image Remover

Removes branding images (elements with class 'branding-img') from YouTube pages to provide a cleaner interface.

当前为 2025-05-10 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
Hans Gretel
评分
0 0 0
版本
0.3
创建于
2025-05-10
更新于
2025-05-10
大小
2.4 KB
许可证
暂无
适用于

This script is designed for YouTube. It automatically finds and removes image elements
that have the CSS class 'branding-img'. This can be useful for users who want to
declutter the YouTube interface or remove specific branding elements they find distracting.


### How It Works
* The script targets `` (image) elements that specifically have the class name `branding-img`.
* It executes once the basic page structure is loaded (`document-end`).
* To handle images that are loaded dynamically by YouTube's scripts (e.g., when new content loads without a full page refresh), it uses a `MutationObserver`. This observer monitors the page for new elements being added and re-runs the removal logic if necessary.

### Feedback & Contributions
If you encounter any issues, have suggestions for improvement, or want to contribute, please leave feedback or start a discussion on the GreasyFork page for this script.