4 ms·
> How does uBO accomplish this. DOM/content manipulation. > Also I normally download the entire video before watching; I dislike so-called "streaming" and Ja
by OJFord 5y ago
> How does uBO accomplish this.
DOM/content manipulation.
> Also I normally download the entire video before watching; I dislike so-called "streaming" and Javascript video players.
How do you do that? It's probably that.
(That's also unfortunately a browser / 'use a different app' solution rather than something that'll work for the YouTube app on iOS/Android/TV devices.)
- 1vuio0pswjnm7 5y agoThere are two types of YouTube ads, right. The pop-up (pop-over) and the "pre-roll" (today, periodic roll). IOW, the ads are either opening in their own little window or they are themselves video files. Does DOM/content manipulation mean certain .js is not run. For example, requests for that .js is external and are not made. When I am testing people's claims that YouTube ads cannot be "blocked" except with uBlock, I am using the same graphical browser that most people use. I do not believe these claims. I can prove there are other ways to retrieve videos without retrieving ads. When I am not disproving those claims, I use the commandline (netcat + TLS proxy + ftp) to download video. This is the fastest and easiest way to use YouTube for me. It is extremely simple. No python required. Just some simple URL decoding and a little grep. I see no reason to use the graphical browser to download video. Thats overkill. Thats why people end up seeing ads, IMO. I may use the browser for playing media files offline but not for making HTTP requests.
- NavinF 5y agoYou can stop certain js files from running, but it's way more fine grained than that. Blocking external scripts would lead to massive breakage. If you wanna know how ad filters work, look at a filter list: https://easylist.to/easylist/easylist.txt https://easylist.to/easylist/easylist.txt > I can prove there are other ways to retrieve videos without retrieving ads. Go ahead? There is no technical reason why Google can't serve you ads. You are not using DOM filters and we've already established that your DNS filter has no effect on YouTube. Google is choosing not to show you ads > I use the commandline (netcat + TLS proxy + ftp) to download video > URL decoding and a little grep Eww, that'll break every time YouTube changes their ui. None of that is necessary. youtube-dl works with pretty much every video site, does not require a wacky setup, and it tracks YouTube changes pretty much instantly. It also works with playlists, entire channels, etc. You'll spend years replicating all the little features like quality selection, subtitles, etc if you use shell scripting for that.
- 1vuio0pswjnm7 5y ago"Eww ..." Funny, that's the reaction I have to python and youtube-dl. Aesthetics play a role in our perception, I guess. If youtube-dl were smaller, faster and less brittle than a few lines of shell script, I might use it. However it fails on all three counts. I have only had to make changes to scripts twice in the history of YouTube. youtube-dl is constantly breaking and being updated; an incredible amount of size and churn for something so simple. I never have to wait for someone else because I can fix a script and be downloading again in the same day.
- 1vuio0pswjnm7 5y agos/pop-over/overlay/
- deleted 5y ago[deleted]
- 1vuio0pswjnm7 5y agoThere are two types of YouTube ads, right. The pop-up (pop-over) and the "pre-roll" (today, periodic roll). IOW, the ads are either opening in their own little window or they are themselves video files. Does DOM/content manipulation mean certain .js is not run. For example, requests for that .js is external and are not made. When I am testing people's claims that YouTube ads cannot be "blocked" except with uBlock, I am using the same graphical browser that most people use. I do not believe these claims. I can prove there are other ways to retrieve videos without retrieving ads. But normally I use the commandline (netcat + TLS proxy) to download video. It is extremely simple. No python required. Just some simple URL decoding and a little grep. I see no reason to use the graphical browser to download video. Thats overkill. I may use it for playing media files offline though.