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.

Устаревшая версия за 01.06.2024. Перейдите к последней версии.

Автор
momobitesthedust
Оценки
0 0 0
Версия
1.0
Создано
01.06.2024
Обновлено
01.06.2024
Размер
1,6 КБ
Лицензия
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.