GTA World Forums – Like All + Post Counter

One‑click “Like All” for the current GTA World forum page + live post counter.

作者
blancoleopardo
日安装量
0
总安装量
0
评分
0 0 0
版本
1.0
创建于
2025-07-20
更新于
2025-07-20
大小
6.3 KB
许可证
All Rights Reserved
适用于

🔥 GTA World Forums – Like All + Post Counter (Power‑User Edition)

A Tampermonkey userscript that adds two powerful tools to enhance browsing on the GTA World forums:

✨ Features

  • One-Click "Like All"
    Automatically likes all visible, unliked posts on the current forum page via AJAX — no reload needed.

  • 📊 Live Post Counter
    A floating badge updates in real time as posts appear or are removed.

  • 🌙 Dark/Light Theme Aware
    Adapts to your system’s color scheme for seamless UI integration.

  • ⌨️ Hotkey Access
    Press Shift + L to like every post instantly.

  • 🔁 Smart Retry with Rate Limit Handling
    Detects rate limits (HTTP 429), pauses for 30 seconds, and resumes automatically.


✅ How to Use

  1. Install Tampermonkey or another userscript manager.
  2. Create a new script and paste the full source code into it.
  3. Browse any thread or forum page on https://forum.gta.world.
  4. Click the floating 🖱 “Like All” button, or press Shift + L to like every post on the page.

⚙️ Configuration Options (inside CONFIG)

Setting Description Default
likeDelay Delay between like requests (ms) 500
badgeBottom Distance from bottom of screen for the post counter 150
counterDebounce Throttle delay for the post counter update (ms) 250
hotkey Hotkey (with Shift) to trigger “Like All” 'L'
maxRetries Maximum retry attempts on failed requests 3
rateLimitPause Wait time when rate-limited (ms) 30000

🛠 Technical Notes

  • Scans for all unliked span.ipsReact_button elements that contain img[alt="Upvote"].
  • Uses fetch() to send AJAX-like requests for each like.
  • Employs AbortController to cancel in-progress requests when navigating away.
  • Handles failed requests using exponential backoff and graceful retry logic.
  • Prevents redundant liking of already-upvoted posts.

© 2025 blanco. All rights reserved.
This script is proprietary. You may not copy, modify, distribute, or use any part of it without explicit written permission.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址