Sites disabling scrolling - solution found
Page 1 of 1
Frant
King's Bounty



Posts: 24596
Location: Your Mom
PostPosted: Tue, 15th Mar 2022 17:16    Post subject: Sites disabling scrolling - solution found
Damn, I wish I had taken the effort to look this up a long time ago.

You know the sites that you open, you scroll down only to watch the page become static and a splash image saying something like "Thank you for visiting our website. Please create an account blabla". uBlock's element picker can't be used...

BUT.. adding this to my ublock filter list solved it:

replace_with_real_adress.com##body,html:style(overflow: auto !important)


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!

"The sky was the color of a TV tuned to a dead station" - Neuromancer
Back to top
PickupArtist




Posts: 9862

PostPosted: Tue, 15th Mar 2022 17:21    Post subject:
does it also solve all those cookie permissions spam popups?
Back to top
Stormwolf




Posts: 23504
Location: Norway
PostPosted: Tue, 15th Mar 2022 17:25    Post subject:
Nice added too.. Been annoying me for a while actually.

When talking about peeves and scrolling i absolutely hate the endless pits of endless scrolling sites. I have a modern computer and a fast fiber connection, let me fucking load a ton at a time and keep that slow loading scroll shit somewhere else.
Back to top
skx7




Posts: 1009

PostPosted: Tue, 15th Mar 2022 17:57    Post subject:
like on the guardian news website?

ublock origin - block inline scripts and whole page is readable - works on 99% of the websites
Back to top
jermore




Posts: 1087

PostPosted: Tue, 15th Mar 2022 23:04    Post subject: Re: Sites disabling scrolling - solution found
Frant wrote:
Damn, I wish I had taken the effort to look this up a long time ago.

You know the sites that you open, you scroll down only to watch the page become static and a splash image saying something like "Thank you for visiting our website. Please create an account blabla". uBlock's element picker can't be used...

BUT.. adding this to my ublock filter list solved it:

replace_with_real_adress.com##body,html:style(overflow: auto !important)

nice, i was always able to remove the filters and blockers but couldn't be bothered finding how to get the scroll bar back.. until a couple of days ago, i figured it out. i actually do this manually by selecting the main body and searching for overflow using f12 in firefox Laughing
you should have looked this up a year ago.. so i would have known too Laughing

if anyone needs to know how to remove elements that block a page in mozilla firefox:
f12 to open development console
right-click the annoying part of the page
press q to select top-most element
highlighted blue in the console -> right click that to hide/delete it

god forbid they work out how to mangle the source code and you have to use greasemonkey to restore it.
Back to top
Interinactive
VIP Member



Posts: 29407

PostPosted: Wed, 16th Mar 2022 00:07    Post subject: Re: Sites disabling scrolling - solution found
Frant wrote:
replace_with_real_adress.com##body,html:style(overflow: auto !important)


This is very specific, many sites apply it to more than the body and/or truncate the article content
Back to top
Frant
King's Bounty



Posts: 24596
Location: Your Mom
PostPosted: Thu, 17th Mar 2022 02:22    Post subject:
I should look around a bit more to find a comprehensive list of stuff we can add to the uBlock filter list; pretty much like blocking url's/ip-adresses in the hosts file.


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!

"The sky was the color of a TV tuned to a dead station" - Neuromancer
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - The Bitching Session
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group