remove upgrade button + makes img unselectable

This commit is contained in:
Araxeus
2021-10-15 15:40:34 +03:00
parent d775e3d588
commit ce4580605d
3 changed files with 19 additions and 0 deletions

View File

@ -38,6 +38,11 @@ document.addEventListener("DOMContentLoaded", () => {
});
});
// Remove upgrade button
if (config.get("options.removeUpgradeButton")) {
document.querySelector('[tab-id*="SPunlimited"]').style.display = "none";
}
// inject song-info provider
setupSongInfo();