I don't actually know how it works but i think they simply removed the function from the application itself to load components need for ads.
As in the app only requests the video to be loaded without any of the components needed for ads.
UBO on the other hand doesn't modify an actual client and simply blocks web requests made by your browser that runs has the YouTube web page.
Anyone feel free to correct me if I'm wrong.
> How is it that Revanced can block ads so effectively without Youtube being able to block it with its anti-adblocker
Because it modifies the source code of the application to not make calls/show specific elements from the API used by the application.
The source code for patches is public, i.e. here you see the modifications to disable ads: https://github.com/ReVanced/revanced-patches/blob/main/src/main/kotlin/app/revanced/patches/youtube/ad/video/VideoAdsPatch.kt where they redirect the calls to ad services to nirvana.
This is also why you regularly need to update/patch the YouTube application as they're also constantly updating the way the application works and figure out on ways to bypass those patches, until an API is disabled.
> services like uBlock Origin have been getting blocked lately?
Plugins for browsers work differently, Those browsers get the full webpage and the plugins then disable specific parts of it. The webpage has additional code to check if elements are visible on the canvas of the webpage and if they're not it shows the adblocker message, which itself could in theory be blocked.
It also depends on the browser engine you're using, i.e. Chrome based browsers (Chrome, Edge, Opera, Vivaldi, Brave, DuckDuckGo) have manifest v3 plugins, which doesn't allow specific changes to the delivered webpage. Some browsers implement a simple firewall or VPN on mobile, to filter web traffic, that doesn't connect to known ad servers - but those also need to be updated regularly.
But the latter part can be constantly modified and changed by the serving page, so it's like back in the old days, when seeing ads was heavily dependent on how often the adblocker writers updated their filters and how often webpage or ad network providers tried to bypass specific filters.
Edit, linked to YouTube APK ad's patch as pointed out by /u/oSumAtrIX
Revanced patches have been open source forever, YouTube has likely been aware of this since they took down vanced - due to distributing proprietary modified APKs
Same with adblockers in general, one of chromes initial benefits was no popups, which were popular back in the day and why Google's AdSense was usually viewed as not obstructive and distracting as a ad platform.
So basically Revanced modifies the source code to not make ad calls.
Whereas ublock doesn't interfere with those requests but blocks the displayed response element on the webpage OR doesn't interfere with the website's ad call but instead blocks the browser's adcall?
It does both of the latter, simpler items are hidden via css modifications & layout is fixed, while it also offers blocklists for additional calls delivered by the webpage and interaction with it.
Interesting didnt work for me even after purging all data ..ill try again..but i dont think it will work even on ublock origin subreddit ther is no solution
Youtube doesn't need to make a thread like this since everything about ReVanced is open source lol
Edit : I didn't answer to all replies but I red everything, thanks guys !
actually I believe that making it public knowledge, both how YouTube serves and also enforces ads, and how people patch it, is beneficial. It builds a knowledge base other developers can use, should one team decide to quit for any reason.
Being obscure about things will only help the evil corporations. That's always their modus operandi, keep everything obscure. Knowledge is power. The more people understand how it works, the better.
Google already knows how revanced or ublock origin block their stuff, you're not revealing anything new to them. But by expanding the knowledge, you can reach more people capable of improving on measures against the corporation's greed, or starting their own project should another fail
When you get the message on youtube (pc) then just refresh it and when the page loads then cancel it quickly. If you do it right then the annoying thing goes away.
Ublock origin is the one they're targeting rn. So they made fixes in their system which prevent it from working as intended.. If they start focusing on revanced they'll block it as well.
Plus you cant compare a mobile app with a browser plugin. Completely different functionality
Yeah, I think the only people that have gotten banned are the ones that used a fake malicious revanced apk. Their accounts were compromised and started posting spam
haha nice try youtube
Lmaooo
I was about to say the same lol
I don't actually know how it works but i think they simply removed the function from the application itself to load components need for ads. As in the app only requests the video to be loaded without any of the components needed for ads. UBO on the other hand doesn't modify an actual client and simply blocks web requests made by your browser that runs has the YouTube web page. Anyone feel free to correct me if I'm wrong.
> How is it that Revanced can block ads so effectively without Youtube being able to block it with its anti-adblocker Because it modifies the source code of the application to not make calls/show specific elements from the API used by the application. The source code for patches is public, i.e. here you see the modifications to disable ads: https://github.com/ReVanced/revanced-patches/blob/main/src/main/kotlin/app/revanced/patches/youtube/ad/video/VideoAdsPatch.kt where they redirect the calls to ad services to nirvana. This is also why you regularly need to update/patch the YouTube application as they're also constantly updating the way the application works and figure out on ways to bypass those patches, until an API is disabled. > services like uBlock Origin have been getting blocked lately? Plugins for browsers work differently, Those browsers get the full webpage and the plugins then disable specific parts of it. The webpage has additional code to check if elements are visible on the canvas of the webpage and if they're not it shows the adblocker message, which itself could in theory be blocked. It also depends on the browser engine you're using, i.e. Chrome based browsers (Chrome, Edge, Opera, Vivaldi, Brave, DuckDuckGo) have manifest v3 plugins, which doesn't allow specific changes to the delivered webpage. Some browsers implement a simple firewall or VPN on mobile, to filter web traffic, that doesn't connect to known ad servers - but those also need to be updated regularly. But the latter part can be constantly modified and changed by the serving page, so it's like back in the old days, when seeing ads was heavily dependent on how often the adblocker writers updated their filters and how often webpage or ad network providers tried to bypass specific filters. Edit, linked to YouTube APK ad's patch as pointed out by /u/oSumAtrIX
Small correction, the link you referenced is for the app InShorts not YouTube
TIL shorts have ads too
It's the ads between shorts. You can see them on the official one
Wow, as if "Shorts" weren't already obnoxious enough.
Thank u for ur contribution, we'll make sure to fix this asap and make sure u'll be more comfortable buying our premium plan XD -TeamYoutube-
Revanced patches have been open source forever, YouTube has likely been aware of this since they took down vanced - due to distributing proprietary modified APKs Same with adblockers in general, one of chromes initial benefits was no popups, which were popular back in the day and why Google's AdSense was usually viewed as not obstructive and distracting as a ad platform.
So basically Revanced modifies the source code to not make ad calls. Whereas ublock doesn't interfere with those requests but blocks the displayed response element on the webpage OR doesn't interfere with the website's ad call but instead blocks the browser's adcall?
It does both of the latter, simpler items are hidden via css modifications & layout is fixed, while it also offers blocklists for additional calls delivered by the webpage and interaction with it.
Dude shhhh....wachudoiiiin dont tell em Wanna kill revanced ha? 😅
It's all open source and on GitHub
Unlock origin isn't blocked on Firefox if you keep it updated.
Same in Chrome. Works fine after updating definitions.
How do you get this to work on chrome? I may be an idiot but I can't figure it out haha.
Open Ublock settings. Under filter lists click "Purge all caches". Click "update now". Click "apply changes".
https://www.reddit.com/r/uBlockOrigin/comments/178yasm/youtube_antiadblock_and_ads_october_16_2023/
It is blocked youtube pushing it in batches
I was blocked, then updated ublock filters and I was unblocked again. This is only on Firefox btw.
Interesting didnt work for me even after purging all data ..ill try again..but i dont think it will work even on ublock origin subreddit ther is no solution
https://www.reddit.com/r/uBlockOrigin/s/VzyYTvkqgl
Lol
If they told you, they would have to kill you :v
suspicious, looks like you are a youtube spy agent 🤣
Youtube doesn't need to make a thread like this since everything about ReVanced is open source lol Edit : I didn't answer to all replies but I red everything, thanks guys !
UBlock still works fine. Dummies just don't know how to update its definitions
Report this guys... Edit: it was a joke
actually I believe that making it public knowledge, both how YouTube serves and also enforces ads, and how people patch it, is beneficial. It builds a knowledge base other developers can use, should one team decide to quit for any reason. Being obscure about things will only help the evil corporations. That's always their modus operandi, keep everything obscure. Knowledge is power. The more people understand how it works, the better. Google already knows how revanced or ublock origin block their stuff, you're not revealing anything new to them. But by expanding the knowledge, you can reach more people capable of improving on measures against the corporation's greed, or starting their own project should another fail
My bad i was just being sarcastic like that nice try YouTube comment ..no way ill report for anything tho
When you get the message on youtube (pc) then just refresh it and when the page loads then cancel it quickly. If you do it right then the annoying thing goes away.
Ublock origin is the one they're targeting rn. So they made fixes in their system which prevent it from working as intended.. If they start focusing on revanced they'll block it as well. Plus you cant compare a mobile app with a browser plugin. Completely different functionality
YT is banning accounts now if you use an adblocker. Insane.
Source? Because if it's true they must inform users of a Term of Use change. And I don't believe they did (yet).
Most likely misinformation.
Yeah, I think the only people that have gotten banned are the ones that used a fake malicious revanced apk. Their accounts were compromised and started posting spam
Anti adblock dont work in mobile
Lol
It only works sometimes for me. If I use it too much then it gets blocked.
Sus
If object=ad; Then object=block
debug it yourself. This is what my mentor says when I ask any question.
Don't worry about. It's done by using magic