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

BUG - 'Cancel Override' no longer works correctly #69

Open smayer97 opened 5 months ago

smayer97 commented 5 months ago

Recently, 'Cancel Override' will no longer reliably cancel override. The current behaviour is that most often it simply does nothing, as the override counter continues its countdown. At the end of the countdown, Override does expire as expected.

Things I have tried:

What I now notice is that if the page is fully loaded, 'cancel override' hardly works BUT if the page is still loading or I force a reload and try to cancel override while still loading, then 'Cancel Override' works. So that is one work-around.

Another work-around is to set a new override period of 1 mins so it resets the override.

Using LB v1.6.3, Chrome for Mac 121.0.6167.140

smayer97 commented 5 months ago

seems like another case similar to #62, and related to #59?

smayer97 commented 5 months ago

ERRORS:

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

Not allowed to load local resource: chrome://extensions/?id=blaaajhemilngeeffpbfkdjjoefldkok

smayer97 commented 2 months ago

Not sure when it started working again, but Cancel Override seems to be working ok, at least for now, with no work-around.