Spotify Cleaner

This script removes the buttons next to the avatar on Spotify Web.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name          Spotify Cleaner
// @namespace     http://tampermonkey.net/
// @version       1.8.7
// @description   This script removes the buttons next to the avatar on Spotify Web.
// @author       dacyh
// @match        *://open.spotify.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=spotify.com
// @grant         none
// @run-at       document-start
// ==/UserScript==

(function() {
let css = `

/*hide free users upgrade to premium button 1*/
    .ButtonInner-sc-14ud5tc-0.fcsOIN.encore-inverted-light-set {
        display: none;
    }

/*hide free users download app button*/
    .ButtonInner-sc-14ud5tc-0.gDlqhe.encore-over-media-set {
        display: none;
    }

/*hide premium users download app button*/
    .ButtonInner-sc-14ud5tc-0.kVKSMm {
        display: none;
    }
/*blue box*/
    .tippy-content {
        display: none;
    }
/*blue box*/
    .tippy-box {
        display: none;
    }
/*blue box*/
    .y9bkifFKNExwjaoINLm9 {
        display: none;
    }
/*artist panel*/
    .GTmlByXpJj7V6AwVq0Vk.ouorHKa6NI5cm666H3tp {
        display: none;
    }
/*also artist panel*/
    .QkOkUShDYWFx5Cz40Bcn {
        display: none;
    }
/*tour panel*/
    .IgTMXVbZtqtZwu3GZASd {
        display: none;
    }
/*extra*/
    mWj8N7D_OlsbDgtQx5GW.ig17e2GN63Tgv3JeRoJF {
        display: none;
    }

`;
if (typeof GM_addStyle !== "undefined") {
  GM_addStyle(css);
} else {
  let styleNode = document.createElement("style");
  styleNode.appendChild(document.createTextNode(css));
  (document.querySelector("head") || document.documentElement).appendChild(styleNode);
}
})();