Click buttons across tabs

Clicks specified buttons across tabs using the Broadcast Channel API and closes tabs after successful submission.

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v4.5.0 2025-11-08

    fix(click-buttons-across-tabs): Correct rate-limiter logic and settings parser

    This commit addresses two issues:

    First, the timestamp-based rate limiter was vulnerable to a race condition. GM.setValue in Tab 1 did not propagate before Tab 2 read the value, resulting in tabs submitting in pairs and effectively doubling the submission rate. This is fixed by removing the timestamp logic entirely and instead awaiting a setTimeout for the requiredInterval after submission, holding the navigator.lock for the duration.

    Second, the settings menu for "submits per second" used parseInt, which prevented entering fractional rates (e.g., 0.5 for a 2-second delay). This is changed to parseFloat, and the alert text is updated.

  • v4.4.0 2025-09-20

    fix error handler on load, use observer for error detection, change some log colors

  • v4.3.0 2025-09-17

    add rule to close tab after merge was entered, refactor check and closing functions

  • v4.2.1 2025-09-06
  • v4.2.0 2025-08-31

    improve checks for state of MagicISRC

  • v4.1.2 2025-08-05

    fix ISRC Hunt button selector

  • v4.1.1 2025-07-22

    fix re-trigger button click on MagicISRC

  • v4.1.0 2025-07-21

    add support for ISRC Hunt

  • v4.0.0 2025-07-20

    replaced staggered delays by web locks API, handle MagicISRC no-op, sync debug logs among tabs

  • v3.0 2025-07-15

    refactor whole script

  • v2.6 2025-07-14

    automate MagicISRC error handler

  • v2.5 2025-07-13
  • v2.5 2025-07-13

    add error handler for MagicISRC

  • v2.4.1 2025-07-04

    quick fix for race condition

  • v2.4 2025-07-04

    add auto click for URL seeding in release relationship editor

  • v2.3 2025-07-04

    exclude collections from successUrlPatterns

  • v2.2 2025-07-04

    add support for release relationship editor

  • v2.1 2025-06-14

    add delay before closing tab, add options for delay and tab closing

  • v2.0 2025-06-12

    add automatic tab closing feature after submission

  • v1.0.1 2025-06-10

    fix path endsWith matching

  • v1.0 2025-06-10