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

fix(snippets): rework Disable Homepage Recommendations #662

Merged
merged 7 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/resources/snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ export default [
"preview": "resources/assets/snippets/fix-playlist-hover.png",
},
{
"title": "Disable Homepage Recommendation",
"description": "Disable Homepage Recommendation charts",
"code": "section[data-testid='home-page'] .main-shelf-shelf:not([aria-label='Recently played'], [aria-label='Your playlists']) {\n display: none !important;\n}",
"preview": "resources/assets/snippets/disable-recommendation.png",
"title": "Disable Homepage Recommendations",
"description": "Removes all recommendations from the homepage",
"code": "[data-testid='home-page'] .main-home-content > *:not(.view-homeShortcutsGrid-shortcuts, .main-shelf-shelf:has([href=\"/genre/recently-played\"], [href=\"/section/0JQ5DAnM3wGh0gz1MXnu3z\"])) {\n display: none !important;\n}",
theRealPadster marked this conversation as resolved.
Show resolved Hide resolved
"preview": "resources/assets/snippets/disable-recommendations.png",
},
{
"title": "Circular Album Art",
Expand Down
Loading