Add ublock filters to readme.

This commit is contained in:
voussoir 2021-10-26 18:16:53 -07:00
parent c0235901c6
commit 5d9abf6e65
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -34,6 +34,7 @@ The reason for this is that youtube-dl is extremely configurable. Every user mig
- Sort videos by date, duration, views, or random - Sort videos by date, duration, views, or random
- Background thread will refresh channels over time - Background thread will refresh channels over time
- Automark channels as ignore or download - Automark channels as ignore or download
- Free yourself from Youtube's awful recommendation system
## Your API key ## Your API key
@ -88,6 +89,8 @@ YCDL has a core backend package and separate frontends that use it. These fronte
## Pairs well with... ## Pairs well with...
### YCDL bookmarklet
Here is a javascript bookmarklet that you can click while on youtube.com to be redirected to the same URL on your YCDL server. Mainly for `/channel` and `/watch` URLs. Here is a javascript bookmarklet that you can click while on youtube.com to be redirected to the same URL on your YCDL server. Mainly for `/channel` and `/watch` URLs.
```Javascript ```Javascript
@ -98,6 +101,18 @@ false;
Replace 5000 with the port on which you choose to run YCDL. Replace 5000 with the port on which you choose to run YCDL.
### uBlock Origin filters
I use the following filters to prevent annoying elements from appearing inside the embedded youtube player:
```
! This is the thing that pops up while the video is paused
youtube.com##.ytp-scroll-min.ytp-pause-overlay
! These are the recommendations that appear after the video is over
youtube.com##.ytp-suggestion-set
```
## Screenshots ## Screenshots
![](https://user-images.githubusercontent.com/7299570/133191450-5ecf7ab2-fd22-4bcc-9d6b-eb29e23da7d9.png) ![](https://user-images.githubusercontent.com/7299570/133191450-5ecf7ab2-fd22-4bcc-9d6b-eb29e23da7d9.png)