raicem / impulse-blocker

Block distracting websites when you are browsing the web. Use for procrastination.
https://blog.cemunalan.com.tr/2017/05/17/impulse-blocker-guide/
MIT License
168 stars 24 forks source link

block endless scrolling #49

Open benibela opened 4 years ago

benibela commented 4 years ago

It should prevent pages with endless scrolling from loading new content

E.g. when you open reddit or tumblr during a pause, you can scroll endlessly for new content, even after the pause has ended

raicem commented 4 years ago

Hi, thank for using the extension! I'll label it as enhancement and take a look at it since it's quite a common feedback. I perfectly understand the reason behind it.

I implemented that way on purpose when initially developing the extension. The way the extension blocks websites is when they are first loaded. Then we don't care what the hell happens in the tab. I thought that's better for performance as extensions bring quite a bit of headroom to the browsers RAM and CPU consumption.

benibela commented 4 years ago

Unlike #46 I do not want it to redirect away from already open pages

Just keep open pages as they are. Perhaps XMLHttpRequest can be blocked

neuhaus commented 3 years ago

Perhaps a counter for every second with a scroll-down event?

jfcaraujo commented 2 years ago

This also happens to websites that change pages dynamically, such as youtube.

I can change video endlessly after the pause is over without getting blocked.