YouTube Mobile 评论自动@用户名 / Auto @username in YouTube Mobile Replies

【中/英】在 YouTube 手机版点击“回复”时自动在输入框插入 @用户名。Automatically insert @username when replying to comments on YouTube Mobile.

作者
kmcbest
日安装量
0
总安装量
1
评分
0 0 0
版本
1.0
创建于
2025-10-20
更新于
2025-10-20
大小
4.8 KB
许可证
MIT
适用于

🇨🇳 中文说明

🧩 脚本简介

本脚本用于在 YouTube 手机版网站(m.youtube.com) 的评论区中,当你点击某条评论下的「回复(Reply)」时,自动在输入框中插入该用户的 @用户名。 在电脑版网页中,这个功能原本就存在,但移动版 YouTube 被精简后取消了它。本脚本可让你在移动端也能明确地 @ 对方,避免回复错人。

🌐 语言支持

脚本会根据浏览器语言自动切换为中文或英文,无需手动设置。 日志与提示信息也会显示为对应语言。

⚙️ 安装方式

💻 支持 Tampermonkey 的浏览器

适用于:

  • Android 版 Firefox
  • Android 版 Chrome(支持扩展的版本)
  • 任意桌面版浏览器(用于测试)

➡️ 可直接点击 “安装此脚本” 按钮自动安装。


📱 Cromite 浏览器用户(重要)

Cromite 自带用户脚本功能,但 不支持点击直接安装,请按以下步骤操作:

  1. 点击页面右上角的 “脚本代码” 或 “Raw Code”;
  2. 页面会自动下载一个文件,例如:youtube-autoreply.user.js
  3. 打开 Cromite → 设置 → User Scripts(用户脚本)
  4. 选择 “添加脚本”;
  5. 导入刚才下载的 .user.js 文件;
  6. 重新打开 YouTube 手机版网页(m.youtube.com)即可生效。

🧠 功能特性

  • 自动检测并插入 @用户名
  • 支持 YouTube 移动端的 Shadow DOM 结构;
  • 兼容 Cromite、Kiwi、Firefox Mobile、Tampermonkey;
  • 无需任何权限或外部 API;
  • 屏幕底部绿色提示,3 秒后自动淡出消失。

🧩 兼容性

已测试环境:

  • Cromite(Android,自带用户脚本)
  • Firefox Mobile / Chrome Mobile(通过 Tampermonkey)
  • 桌面浏览器(开发调试使用)

🧾 开源协议

本脚本基于 MIT License,可自由修改与再发布(需保留署名)。


🇬🇧 English Description

🧩 Script Overview

This userscript automatically inserts the target user’s @username into the reply input field when you click “Reply” under a comment on YouTube Mobile (m.youtube.com). The desktop version of YouTube supports this feature by default, but it’s removed from the mobile version. This script restores the same behavior so you can clearly mention the person you’re replying to.

🌐 Language Support

The script automatically switches between English and Chinese based on your browser’s language settings. All on-screen logs and notifications appear in the detected language.

⚙️ Installation

💻 Browsers with Tampermonkey

Works with:

  • Firefox for Android
  • Chrome for Android (with extension support)
  • Any desktop browser (for testing)

➡️ Simply click the “Install this script” button to install directly.


📱 For Cromite Users (Important)

Cromite has a built-in User Script feature, but does NOT support direct installation. Please install manually:

  1. Click “Code” or “Raw Code” on this page;
  2. A file will download automatically, e.g. youtube-autoreply.user.js;
  3. Open Cromite → Settings → User Scripts;
  4. Tap Add Script;
  5. Import the downloaded .user.js file;
  6. Reload m.youtube.com and enjoy the feature.

🧠 Key Features

  • Automatically detects and inserts @username;
  • Supports YouTube Mobile’s Shadow DOM structure;
  • Compatible with Cromite, Kiwi, Firefox Mobile, and Tampermonkey;
  • Requires no special permissions or APIs;
  • Lightweight on-screen log messages fade out after 3 seconds.

🧩 Compatibility

Tested Environments:

  • Cromite (Android) — via built-in user scripts
  • Firefox Mobile / Chrome Mobile — via Tampermonkey
  • Desktop browsers — for testing and debugging

🧾 License

Licensed under the MIT License — feel free to modify and redistribute with attribution.