Greasy Fork is available in English.

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.

ผู้เขียน
momobitesthedust
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
2
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
01-06-2024
อัปเดตเมื่อ
02-06-2024
สัญญาอนุญาต
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版豆瓣网页以应用新更改。