Spotify Cleaner

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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);
}
})();