This commit is contained in:
Kuu7o
2025-10-31 20:08:11 -03:00
commit 277c68c1ce
5 changed files with 961 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# Invidious - Shorts Detection & Removal
Simple userscript to detect and remove YouTube Shorts from your feed.
## How it Works
The script analyzes video thumbnails. Using the unique pattern of Shorts thumbnails, which is typically: portrait in the middle, portrait bigger and darker on the background. Through cropping, blurring, and compositing the script is able to know if the thumbnail has the structure of a short or no. If it's determined it was a short the script adds the video element to a class to hide it (You can change this behavior by altering the css), providing a cleaner browsing experience.
## Installation
Click [here](userscript.js) to install the userscript.
## Examples
| Short Thumbnail | Video Thumbnail |
|---|---|
| ![short](.assets/short.png) | ![video](.assets/video.png) |
## Donations
Idk, just if u want.
[donate](https://kuuro.net/donate)