Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove upgrade button + makes images unselectable #434

Merged
merged 3 commits into from
Oct 24, 2021

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Oct 15, 2021

Copy link
Owner

@th-ch th-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the contribution!

preload.js Outdated

// Remove upgrade button
if (config.get("options.removeUpgradeButton")) {
document.querySelector('ytmusic-pivot-bar-item-renderer[tab-id="SPunlimited"]').style.display = "none";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the DOM element could probably even be removed

@th-ch th-ch merged commit 005c930 into th-ch:master Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants