fourier-like

An auto-like script for Douyin Live.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
Zhuorui Liu
Installazioni giornaliere
0
Installazioni totali
17
Valutazione
0 0 0
Versione
1.0.0
Creato il
22/06/2026
Aggiornato il
22/06/2026
Dimensione
10 KB
Licenza
GPL-3.0
Applica a

fourier-like

fourier-like is a high-performance Tampermonkey userscript that automatically likes Douyin Live rooms by simulating Z key presses. It features a floating toggle button, human-like random intervals, and intelligent state detection to avoid rate limits.

Features

  • Non-intrusive UI: A sleek, floating toggle button overlayed on the live player, with dynamic SVG icons reflecting the on/off state.
  • Human-like Clicking: Uses randomized intervals to simulate natural user behavior.
  • Smart Anti-Ban (Cooldown) System: Automatically detects platform rate-limit popups and enters a 10-minute cooldown mode before safely resuming.
  • Live State Detection: Automatically stops the script when the live stream ends to save CPU and battery.
  • Optimized for long sessions: Uses a bounded MutationObserver, throttled room-state checks, and managed timers to reduce long-running overhead.
  • Works seamlessly on live.douyin.com/* and www.douyin.com/*/live/*.

Installation

  1. Install a userscript manager like Tampermonkey.
  2. Create a new script in the extension and paste the contents of fourier-like.user.js, or install it directly via the raw script URL.

Usage

  • Open any Douyin live room.
  • A toggle button will appear near the bottom-right corner of the video player.
  • Click it once to start auto-liking; click it again to manually stop.

Configuration / Notes

  • The script fires keydown (Z key) events to trigger likes.
  • You can manually adjust the following constants inside the script to fit your needs:
    • MIN_CLICK_DELAY_MS: Minimum delay between clicks (default: 200 ms).
    • MAX_CLICK_DELAY_MS: Maximum delay between clicks (default: 300 ms).
    • LIMIT_COOLDOWN_MS: Cooldown duration when rate-limited (default: 600000 ms / 10 minutes).
  • Tested specifically on Safari for macOS. While it uses standard web APIs and conceptually supports other modern desktop browsers (Chrome, Edge, Firefox), explicit compatibility has not been verified.