[NOT WORKING] Pixiv User Scanner (Queue + Highlight + Follow/Unfollow Detect)

Scan Pixiv users lazily, highlight follow status, detect follow & unfollow actions

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
Oppai1442
Instalaciones diarias
0
Instalaciones totales
7
Calificaciones
1 0 0
Versión
1.5
Creado
13/5/2025
Actualizado
15/11/2025
Tamaño
5,26 KB
Licencia
CC BY-NC-ND 4.0
Funciona en

Pixiv User Scanner (Queue + Highlight + Follow/Unfollow Detect)

A user script for enhancing Pixiv user visibility by scanning user links, checking follow status, and detecting follow/unfollow actions.

📌 Features

  • Queue-based Scanning: Lazily scans Pixiv user links found on the page.
  • Follow Status Highlighting: Adds a green border to users you follow.
  • Follow/Unfollow Detection: Detects and visually updates when you follow or unfollow a user.
  • Auto Sync: Syncs user status with Pixiv server after manual follow/unfollow.

⚙️ How it Works

  1. The script detects Pixiv user links on the page (/users/:id).
  2. For each unprocessed user, it fetches their follow status using the Pixiv AJAX API.
  3. It then highlights followed users by adding a green border to their user card.
  4. When you follow/unfollow someone, it updates immediately and re-validates after 3 seconds.

💡 Technical Details

  • Uses a processing queue to avoid rate-limiting.
  • Applies DOM mutation observer to re-scan when new content is added (e.g., infinite scroll).
  • All fetches are done with credentials: include to preserve login state.
  • Automatically applies styling without modifying Pixiv's base UI significantly.

🧠 Structure

  • scanned: Set to track already scanned user IDs
  • processed: Map of userId → isFollowed (true/false)
  • queue: Array of userIds to process sequentially

🔍 Visual Example

Followed users will have a green outline:

+--------------------------+
| [Profile Image]         |
| Username                |
| +--------------------+  |
| |     [✓ Followed]   |  | ← Green Border
| +--------------------+  |
+--------------------------+

🧑‍💻 Author

  • Script Name: Pixiv User Scanner
  • Namespace: Violentmonkey Scripts
  • Version: 1.5
  • Author: Oppai1442

📝 Installation

Install it via Violentmonkey or Tampermonkey by creating a new script and pasting the full code.

Match URL: https://www.pixiv.net/*