Douban Username Alias Modifier

Modify Douban usernames in-script CSV format data. Limitations: (1) Only works on PC Douban (https://www.douban.com), and (2) Supports in-script CSV format data only, as Tampermonkey cannot access local files due to security restrictions.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
omomobitesthedust
日安装量
1
总安装量
4
评分
0 0 0
版本
1.0
创建于
2024-06-01
更新于
2024-06-02
大小
1.6 KB
许可证
MIT
适用于

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 格式数据修改豆瓣用户名。

限制条件:

  • 仅适用于 PC 版豆瓣 (https://www.douban.com)。
  • 仅支持脚本内的 CSV 格式数据,因为出于安全限制,Tampermonkey 无法访问本地文件。

使用步骤

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版豆瓣网页以应用新更改。