To get rid of the annoying YouTube message (ad blocker are not allowed on Youtube) use this custom filter in uBlock extension
- Open uBlock extension dashboard
- Open my filters tab
- Copy & Paste this code into my filter
- Apply changes and close all tabs
via: enderman
They’re going to randomize all vars and function names, mark my words.
Yup. Ad blockers work on pattern matching rules. Countering them might take some work but it’s not impossible - make the URLs that do the bad shit indistinguishable from the ones that make the video works and likewise html elements. Randomise everything, make the paths to things unpredictable. I’m sure YouTube could even merge the ads into the content stream so they are unavoidable.
“I’m sure YouTube could even merge the ads into the content stream so they are unavoidable.”
Who is going to tell him?
aren’t they already? It’s been some time since I worked in video. but I remember HLS manifest had ad insertion built-in.
Last part is already done. Ads are delivered by the same DNS as the video, which is why DNS-based blocking methods like Pihole don’t work for YouTube video ads.
If you meant that Google will re-encode every video on their platform and insert ads like the sponsor segments, that’s not feasible. Ads ads served on a bidding basis and the advertiser who pays most, gets their ad delivered. That would be Impossible unless you keep multiple copies of the video with different ad segments.
Of course they are, for example when targeting HTML elements you generally need to target text not vars or function names.
it will be an interesting cat and mouse game or people will start to shift to another video sharing platform
At the end there will always be some way since to the user the text should be similar or the UI should be similar… So there will be always a way… But yeah it can get more complex.
The only exception is the case they implement the web integrity thing at browser level or equivalent.
deleted by creator
The point being that if one can find the domain through which they push said script/the script itself, they can disable it (I use NoScript).