Youtube's Anti-adblock is illegal in the EU

https://lemmy.world/post/7027225

Youtube's Anti-adblock is illegal in the EU - Lemmy.World

How is YouTube detecting adblockers? Wouldn’t it be with the information the user’s browser is already passing to them?
It could check if the ad is present in Dom maybe?
Or they just check the machine to see if the malware served in the ad is present.