diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | popup.html | 5 | ||||
| -rw-r--r-- | popup.js | 1 | ||||
| -rw-r--r-- | unhook.js | 1 |
4 files changed, 8 insertions, 0 deletions
@@ -27,6 +27,7 @@ The ZIP file is also available in the [Releases](https://github.com/TheArchons/u - Hide Profile Photos - Hide Mixes - Hide Merch +- Hide Event Tickets - Hide Video Info - Hide Buttons Bar - Hide Channel @@ -105,6 +105,11 @@ </label> <label> + <input type="checkbox" id="hideEventTickets"> + Hide Event Tickets + </label> + + <label> <input type="checkbox" id="hideVideoInfo"> Hide Video Info </label> @@ -14,6 +14,7 @@ const toggles = [ 'hideProfilePhotos', 'hideMixes', 'hideMerch', + 'hideEventTickets', 'hideVideoInfo', 'hideButtonsBar', 'hideChannel', @@ -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; }'); |
