Greasy Fork is available in English.

Spotify AdBlocker

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

These are versions of this script where the code was updated. Show all versions.

  • v3.0 05.01.2025.

    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 03.01.2025.

    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 02.01.2025.
  • v1.0 02.01.2025.