YouTube Cosmetic US Mode (Hide Region Label)

Hides YouTube's country code everywhere (topbar + sidebar) to mimic US version.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Zappingsbrew
日安装量
1
总安装量
8
评分
0 0 0
版本
1.0.3
创建于
2025-10-22
更新于
2025-11-19
大小
2.3 KB
许可证
MIT
适用于

YouTube US Mode (Hide Region Label)

A lightweight Tampermonkey userscript that hides YouTube's regional country code (like “PH”, “IN”, etc.) to make the site appear cosmetically identical to the U.S. version.

⚠️ Note: This script is primarily for personal use. It is considered stable and unlikely to need updates. If YouTube changes its top bar layout, updates may be released.


📷 Before vs After

Before vs After


✨ Features

  • Removes the small country code label under the YouTube logo (e.g. “PH”, “IN”).
  • Mimics the visual style of YouTube's U.S. default mode.
  • Lightweight and auto-applies whenever YouTube loads.
  • Keeps all other regional functionality intact — just cosmetic.

🧠 How It Works

The script continuously looks for the #country-code element on YouTube and hides it using a lightweight DOM observer.

const el = document.querySelector('span#country-code');
if (el && el.style.display !== 'none') el.style.display = 'none';

⚙️ Installation

  1. Install Tampermonkey for your browser:
  1. Download or open the userscript: youtube-us-mode.user.js

  2. Click Install in Tampermonkey.

  3. Reload YouTube — the country code under the logo will now be hidden, giving the site a U.S. look.


🔗 Links


🤖 Transparency & Credits

This README and accompanying documentation were written entirely by ChatGPT (GPT-5).

  • The userscript code was authored by ChatGPT (GPT-5).
  • The userscript code was published by Zappingsbrew.
  • ChatGPT generated the README structure, sections, formatting, and descriptive text.
  • This userscript is purely cosmetic and does not modify YouTube functionality or collect any personal data.

🧾 License

This project is licensed under the MIT License.

© 2025 Zappingsbrew