![]() _This template was created based on the work of (). **How familiar are you with the codebase?:** 10Īdd blacklisting wildcard support to the web UI. I give this submission freely, and claim no ownership to its content. I accept that this submission may not be used, and the pull request closed at the will of the maintainer. I have considered, and confirmed that this submission will be valuable to others. I have checked that () for this purpose does not exist. Failure to do so will delay or deny your request*** ***Please submit all pull requests against the `development` branch. **By submitting this pull request, I confirm the following (please check boxes, … eg - no spaces) _Failure to fill the template will close your PR_:** I apologize if I sound so bossy and demanding. ![]() I want to actually do this but I don't know how to create shell scripts efficiently. The idea is to narrow down the list of possible ad-serving domains that actually responds, as opposed to having millions dud domains on the Pi.Īfter that is filtered out, upload it to the Pi and blacklist. It is no longer possible to block these ads. If the domain has no response, the script drops that domain. Note for mobile devices: YouTube is now using a technology that prevents ad blocking in videos on mobile devices. If the domain gets a response, the script writes that domain in a separate list. Then have a function that pings each of those domains. # Add new ones here and the script below will generate the listĮcho r.Ĭreate a script to generate the entire array from a more powerful machine (The one from above seems to be a good starting point). Here is what I came up with to generate the list: # Array of fingerprints If you spot an ad, open the extension and take note of the fingerprint and post it here.Īssuming your information is correct, I couldn't resist the scripting opportunity. But knowing the whole entire fingerprint army is another question.Įdit 2: You can help ID the fingerprint army by using Whitelist Assistant by DNSThingy for Chrome, and surf youtube and watch cat videos. But using this means that you'll end up having 100s or even 1000s of googlevideo domains.Įdit: This also takes care of ads going to mobile and Chromecast. Sometimes, the domain doesn't have the three dashes:īasically, to block an entire unique ID domain, you have to know the fingerprint of each and every variants (from r1 to r20).īy knowing this, you are creating a whole entire array of possible ad-serving DNS for youtube. It is then followed by either three dashes, its unique ID ( fingerprint) then. This number doesn't seem to go beyond 20. (Basically recursively adding the domains.)Įach domain starts with an r followed by a number. Where N is the beginning and M is the end. Luckily, it seems that you only need to add this seemingly simple domain structure in the pihole -b domain1 domain2. The only way to stop ads from rolling is to blacklist them one by one. Youtube will not playback any video at all. Using wildcards through the dnsmasq.d doesn't work. I've been testing out and gathering data about the domains for entire GoogleVideo parent domain (seems to be the only connection for all the ad domains). Which is why it seems hard to pin down YouTube adblocking for Pihole. So, take your pick and tell us more about your experience with your choice.For youtube ads, essentially, Google has an entire array of domains to point to. VPNs are a bit more reliable, but a VPN is meant for privacy protection, not adblocking, and is priced accordingly. YouTube Premium is affordable, especially since you also get ad-free access to YouTube Music, its music streaming platform.īut if you are looking for a free alternative, adblock extensions or browser plugins are widely available as free and premium tools. What Is the Best Way to Watch YouTube Videos Without Ads?įor most users, the easiest way to block YouTube ads would be to get a premium subscription. So, if you only want the VPN to block YouTube ads, it makes more sense to just pay for a YouTube Premium subscription. Not to mention that you may need a separate solution for each device or risk malware from third-party applications. This means that it takes time and energy on your behalf to update or change your ad-blocking methods. There are many ways to avoid ads when you watch your favorite YouTube videos, but is it worth the bother? YouTube is constantly working to prevent ad blockers from doing their jobs. It’s probably best to avoid it for most users. For example, some Pi-hole users have come up with a hostname method to achieve a similar outcome, but this is one of the most labor-intensive ways to block ads. So DNS-based methods can’t tell the difference, blocking everything. To combat this, YouTube has started delivering ad content from the same domain as actual video content.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |