proginosko / LeechBlockNG-chrome

LeechBlock NG (Next Generation) for Chrome is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
72 stars 14 forks source link

fix: ignore pages that have not been loaded yet #73

Closed ThomasOrlita closed 2 months ago

ThomasOrlita commented 4 months ago

There's a bug that will cause LeechBlock to activate even on domains that are not blocked. It has to do with Chrome's speculative prerendering.

For example, if you are on not-blocked.example and start typing "blocked.example" in the omnibox, Chrome will start preloading it in the current tab, which will cause LeechBlock to activate, even though no navigation has taken place yet.