this post was submitted on 05 Jun 2025
217 points (100.0% liked)

DeGoogle Yourself

11986 readers
239 users here now

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

founded 5 years ago
MODERATORS
 

FUUU

Does anyone know of an ad blocker blocker blocker?

you are viewing a single comment's thread
view the rest of the comments
[–] brachypelmasmithi@lemm.ee 4 points 22 hours ago (2 children)

for anyone interested:

the scroll not working is most likely due to the main container in the page (usually the tag but it can be some other element) having the overflow: hidden CSS property assigned to it.

overflow dictates the behavior of an element that has its content overflow past the parent element's boundaries.

the property can have four values:

  • visible, where the overflow is fully visible and allowed to extend past the parent element,
  • scroll, which clips the overflowing content and allows the user to scroll the parent element,
  • hidden, which clips the overflowing content and prevents scrolling, and
  • auto, which works almost identically to scroll

most sites run a script that assigns this property with the value of hidden to the tag, making the user unable to scroll the page.

ive seen this behavior the most with sites that blast you with an unavoidable cookie banner which you have to click through to access the page. usually removing the cookie banner element is not enough to freely access the page, and so you have to additionally find which element has its overflow set to hidden and disable that property.

i reckon youtube's adblocker popup is doing the same thing, and coincidentally turning off fullscreen also runs a script that makes sure the overflow is set to either scroll or auto

[–] Sterile_Technique@lemmy.world 2 points 14 hours ago

It feels strangely vindicating when symptoms that just look like 'a weird bug' to my dumb ass actually make sense to folks who know what they're doing.

Thanks for the insight!

[–] Manmoth@lemmy.ml 3 points 21 hours ago

I always wondered how this worked.