Skip to content

Instantly share code, notes, and snippets.

@gustavonovaes
Last active July 8, 2023 12:09
Show Gist options
  • Save gustavonovaes/1dc4ee39638b0d738fe235b86f550607 to your computer and use it in GitHub Desktop.
Save gustavonovaes/1dc4ee39638b0d738fe235b86f550607 to your computer and use it in GitHub Desktop.
Cut off Shorts from youtube
/*
* Useful links:
*
* https://help.adblockplus.org/hc/en-us/articles/360062859913-Add-a-custom-filter
* https://help.adblockplus.org/hc/en-us/articles/360062733293-How-to-write-filters#elemhide-emulation
*/
/* Grid view */
youtube.com#?#ytd-rich-item-renderer:-abp-has(a#thumbnail[href^="/shorts/"])
/* List view */
youtube.com#?#ytd-item-section-renderer:-abp-has(ytd-expanded-shelf-contents-renderer a.yt-simple-endpoint[href^="/shorts/"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment