Invite Recent Users (Auto-load all followers in batches)

Automatically load and invite all followers of any user in batches of 40

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
VICENTE GARCIA PASTOR
日安装量
0
总安装量
0
评分
0 0 0
版本
1.5.1
创建于
2025-07-03
更新于
2025-07-03
大小
8.6 KB
许可证
MIT
适用于

Invite Recent Users (Auto-load all followers in batches)

Version: 1.5.1

Description

This userscript automates loading and inviting all followers of any user on Scratch Studios, processing them in batches of 40 at a time.

The script adds an "Invite Recent" button next to the followers button on the Scratch Studios page. When clicked, it opens a panel where you can enter a username to:

  • Automatically load all their followers in batches of 40.
  • Display the follower list filtered to avoid duplicates.
  • Invite all followers directly from the interface, showing success or failure status for each invitation.
  • Locally save invited users using localStorage to avoid duplicate invitations across sessions.

Key Features

  • Paginated follower loading via Scratch’s official API (/followers?limit=40&offset=...).
  • Tracking of invited users using localStorage.
  • Handles CSRF tokens for authenticated requests.
  • Interactive UI panel for managing loading and sending invites.
  • Real-time error handling and status updates.
  • Compatible with any Scratch Studio page (https://scratch.mit.edu/studios/*).

How to Use

  1. Navigate to any Scratch Studio page.
  2. Click the "Invite Recent" button next to the followers button.
  3. Enter the username whose followers you want to load.
  4. Automatically load all followers in batches.
  5. Click "Invite All" to send invitations to all loaded followers.
  6. Monitor the invitation status for each user in the list.

This script is perfect for curators or administrators who want to quickly invite a large number of followers from a specific Scratch user, streamlining and automating the process.


Author: [Your name or alias]
License: MIT (or your preferred license)