Overview
This script modifies Douban usernames based on in-script CSV format data.
Limitations:
- Only works on PC Douban (https://www.douban.com)
- Supports in-script CSV format data only, as Tampermonkey cannot access local files due to security restrictions.
Steps
1. Install Tampermonkey Extension
Install the Tampermonkey extension as a user script manager. Tampermonkey is available on Chrome, Firefox, Safari, Microsoft Edge, and more.
2 - Install the User Script
Install the user script to modify Douban usernames. Navigate to the PC Douban (https://www.douban.com), and the script will take effect automatically.
3 - Add Custom User Aliases`
Find and edit the installed user script in the Tampermonkey dashboard. Add customized user aliases in the userCsvData
variable using the CSV format. Example:
const userCsvData = `
user_id,alias
123,abc
456,xyz is a bad momo on Douban
`;
Save the file after making changes and refresh the PC Douban webpage to apply the new changes.
概述
该脚本根据脚本中的 CSV 格式数据修改豆瓣用户名。
限制条件:
使用步骤
1. 安装 Tampermonkey 扩展
作为用户脚本管理器,安装 Tampermonkey 扩展。Tampermonkey 可用于 Chrome、Firefox、Safari、Microsoft Edge 等浏览器。
2. 安装用户脚本
安装用户脚本以修改豆瓣用户名。导航到 PC 版豆瓣 (https://www.douban.com),脚本将自动生效。
3. 添加自定义用户别名
在Tampermonkey仪表板中找到并编辑已安装的用户脚本。在userCsvData
变量中使用CSV格式添加自定义用户别名。示例:
const userCsvData = `
user_id,alias
123,abc
456,xyz is a bad momo on Douban
`;
保存文件后刷新PC版豆瓣网页以应用新更改。