Greasy Fork 支持简体中文。

Spotify AdBlocker

Comprehensive Spotify AdBlocker (audio, banners, premium prompts).

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

  • v3.0 2025-01-05

    Asynchronous waiting (queryAsync): Allows handling elements that appear with a delay.
    Function injection (inject): Intercepts the creation of audio elements and modifies their behavior.
    MutationObserver: Reacts to DOM changes to remove ad elements in real-time.
    Timer: Acts as a fallback for elements that are missed by MutationObserver.
    Benefits:
    The code covers various ad appearance scenarios.
    Resilience to DOM changes.

  • v1.1 2025-01-03

    In the update, the following changes were made:

    Added functionality to remove the "Explore Premium" button using its class: ButtonInner-sc-14ud5tc-0 fcsOIN encore-inverted-light-set Upqw01TOXETOmR5Td7Dj.
    This removal is implemented both via a MutationObserver and through periodic checks with setInterval.

  • v1.0 2025-01-02
  • v1.0 2025-01-02