🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Reddit Chat Anonymizer

A privacy-focused userscript that locally modifies Reddit chat to enhance anonymity by removing usernames and avatars

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

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

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

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

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

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

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

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

作者
AveTrue
日安装量
0
总安装量
5
评分
0 0 0
版本
1.0.2
创建于
2024-12-18
更新于
2024-12-20
大小
5.9 KB
许可证
GNU General Public License v3.0
适用于

Reddit Chat Anonymizer

A userscript that enhances privacy in Reddit chat by modifying how user information is displayed locally in your browser.
Features

Removes usernames from chat messages (except your own)
Replaces all user avatars with a neutral placeholder image
Works with Reddit's new chat interface
Updates dynamically as new messages appear
Only modifies the display locally - does not affect the actual chat data

Technical Details

The script works by:

Navigating through Reddit's shadow DOM structure to locate chat elements
Identifying usernames and avatars within chat messages
Clearing username text and replacing avatar images
Maintaining continuous monitoring for new messages
Preserving your own username and avatar for context

Implementation Notes

Uses shadow DOM traversal to access encapsulated chat components
Employs mutation observation for dynamic content updates
Runs on a 50ms interval to ensure consistent display modification
Includes error handling for missing DOM elements
Compatible with ViolentMonkey userscript manager

Usage

Simply install the script in a compatible userscript manager (like ViolentMonkey) and navigate to Reddit chat. The script will automatically begin working after a 2-second initialization delay.
Privacy Considerations

All modifications are client-side only
Does not affect other users' experience
No data is collected or transmitted
Your own username remains visible for context