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 για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
momobitesthedust
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
3
Βαθμολογίες
0 0 0
Έκδοση
1.0
Δημιουργήθηκε την
01/06/2024
Ενημερώθηκε την
02/06/2024
Μέγεθος
2 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版豆瓣网页以应用新更改。