diff options
| author | Oskar KÄ…klewski <105233545+kaklewski@users.noreply.github.com> | 2026-05-06 17:55:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-06 08:55:57 -0700 |
| commit | 9996f809bbddd0abbba99c47255a8efff3e1c302 (patch) | |
| tree | b3883c46f40739fa116139cdafd49e7cf52781e3 /unhook.js | |
| parent | 7a43e9f3b50c828484b26f3a414b1ccc4929aa6d (diff) | |
Add option to hide event tickets (#5)
Diffstat (limited to 'unhook.js')
| -rw-r--r-- | unhook.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ function applyStyles(settings) { if (settings.hideMixes) rules.push('yt-lockup-view-model:has(a[href*="list=RDMM"]), ytd-playlist-renderer:has(a[href*="list=RDMM"]) { display: none !important; }'); if (settings.hideMerch) rules.push('ytd-merch-shelf-renderer { display: none !important; }'); + if (settings.hideEventTickets) rules.push('ytd-ticket-shelf-renderer { display: none !important; }'); if (settings.hideVideoInfo) rules.push('ytd-watch-metadata { display: none !important; }'); if (settings.hideButtonsBar) rules.push('#actions { display: none !important; }'); |
