fourier-like

An auto-like script for Douyin Live.

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

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

نووسەر
Zhuorui Liu
Daily installs
0
Total installs
17
Ratings
0 0 0
وەشان
1.0.0
Created
2026-06-22
Updated
2026-06-22
Size
10 KB
مۆڵەت
GPL-3.0
Applies to

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.