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.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
momobitesthedust
Daily installs
0
Total installs
3
Ratings
0 0 0
Version
1.0
Created
2024-06-01
Updated
2024-06-02
Size
1.6 KB
License
MIT
Applies to

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