These websites that say "please remove adblocker". They have an overlayer div (which you can delete) and a div somewhere with overflow:hidden
I usually find it quick, but I'm unable to find it in forbes website.
So this is more of a challenge to my CSS chops. So far I've tried this
var elems = document.querySelectorAll('*');
for (var i = 0; i < elems.length; i++) {
if (elems[i].style.overflowY === "hidden") {
console.log(elems[i])
}
}
And I got nothing. I tried with just overflow
and still got nothing.
I there another way to find which element has the overflow:hidden
? Or is there some other way forbs is disabling scrolling?